UBB.Dev
Posted By: klexx Problem with headers! - 08/03/2002 1:12 AM
Good day for all! There is a problem.. Some time ago i have bought hosting. Sure with PHP .
But after ive put there my scripts , i found that its not working properly.
Here a full question:
--Original Message--

Priority email from user: icqmd

Good day!

I wrote you, but since now waiting your reply !

Well there is another problem.

As i understood in your PHP config file variable SESSION_AUTO_START is
set to 1.

Its OK. But PHP interpretator is not working correctly with headers....

For example :

<?

if($a==$b)

{

header("Location:somescript.php");exit;

}

else

{

header("Location:anotherscript.php");

exit;

}

?>





At my local server its working properly....

Yours writes that

headers already sent .. (

Warning: Cannot add header information - headers already sent by (output
started at /home/public_html/data.php:13) in
/home/public_html/register.php on line 28
------------------------------
file register.php:
26 {
27
28 header ("location:http://icqmd.hypermart.net/public_html/
29 register_form.php?error=1");
exit;
}

)


But in my scripts i havent got such function with headers that can
be sent before the script begins

his work...





I really would be very glad hearing from you!

Best, kind regards

Webmaster icqmd.hypermart.net

Well this is a part of email i sent to their adminz..
Would be very glad to hear from you a solution.
THx!

[][email protected][/]


Posted By: AllenAyres Re: Problem with headers! - 08/10/2002 1:04 AM
welcome

I am not famliar enough with hypermart's php setup to offer assistance. Have they emailed you back?
Posted By: klexx Re: Problem with headers! - 08/10/2002 12:24 PM
Not yet
But i solved problem. If it will be intresting to you i can tell
© UBB.Developers