On 30-Aug-2001 Nic Skitt wrote:
> Thanks Andrey but that still hasnt fixed it.
>
> The full error I am getting is:
>
> Cannot add header information - headers already sent by (output started at
> c:\apache\apache\htdocs\client-secure.php:11) in
> c:\apache\apache\htdocs\client-secure.php on line 18
>
> Line 11 refers to:
>
> $uid=$HTTP_SESSION_VARS["userid"];
>
> Now I cant understand why PHP thinks this has written to headers.
Just a guess, but is $HTTP_SESSION_VARS["userid"] set ? if not you you might be
getting some error warning here.
> Surely it
> is simply reading. And more to the point, why does this work on the live
> server but not on my dev box?
>
error_reporting();
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]