On Fri, May 20, 2011 at 1:45 AM, Marc Guay wrote:
> Hi folks,
>
> I'm running some code locally which should produce this fun error we
> all know and love: Warning: Cannot modify header information -
> headers already sent by... but does not. Switching from 5.3 to 5.2
> reveals the error and ru
On Thu, May 19, 2011 at 15:45, Marc Guay wrote:
> Hi folks,
>
> I'm running some code locally which should produce this fun error we
> all know and love: Warning: Cannot modify header information -
> headers already sent by... but does not. Switching from 5.3 to 5.2
> reveals the error and runni
> See if output_buffering and output_handler are set the same in
> your php.ini and/or phpinfo() output between working and non-working
> versions.
Thanks Daniel. With output_buffering On the error was not displayed
and the re-location fired, while Off caused it to display the error
and continu
Sorry, I forgot the alternative.. You can use simply meta refresh
which is working anyway.
Usually I insert more than one redirector function to my script...
Eg.:
...
$back = $_SERVER['PHP_SELF'] . '?action=login';
//header('Location: '.$back.'');
echo '';
...
Valentine
2011/5/19 Bálint Horváth
Thank you Balint but if you read my message I have a good
understanding of what causes this error. My confusion is why it is
not being thrown in this partciular instance.
Marc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Header just be modified if its at the start of your script...
right code:
and not..
Valentine
On Thu, May 19, 2011 at 9:45 PM, Marc Guay wrote:
> Hi folks,
>
> I'm running some code locally which should produce this fun error we
> all know and love: Warning: Cannot modify header inform
Hi folks,
I'm running some code locally which should produce this fun error we
all know and love: Warning: Cannot modify header information -
headers already sent by... but does not. Switching from 5.3 to 5.2
reveals the error and running it on another server with 5.2 also shows
the error. I do
7 matches
Mail list logo