<PHP> Modify Header error.
#1

Hey, i'm getting this unexpected error for a while now that several known experienced PHP coders couldn't help me with either. This is my last resort, which is the forum.

I'm getting a modify header error which is below:

Quote:

Warning: Cannot modify header information - headers already sent by (output started at MyUrl: in MyUrlPage.php on line 31

This error is known to come only if you set cookies inside the html tag! But it is not in the html tag!

- Fixed, code removed.

The reason for $Account is not for it to get inside the tags. The error lines come from MySQL connect (Inside MySQL.php) and Setcookie, which is found at the bottom. I tried removing the data from the includes and pasting it inside but the error still occurred. Also the beginning tag <html> is found inside ScriptBegin.php. Any clues?
Reply


Messages In This Thread
<PHP> Modify Header error. - by Carlton - 25.07.2010, 21:39
Re: <PHP> Modify Header error. - by Fj0rtizFredde - 25.07.2010, 22:03
Re: <PHP> Modify Header error. - by vital2k - 25.07.2010, 22:03
Re: <PHP> Modify Header error. - by Carlton - 25.07.2010, 22:07
Re: <PHP> Modify Header error. - by vital2k - 25.07.2010, 22:10
Re: <PHP> Modify Header error. - by Carlton - 25.07.2010, 22:23

Forum Jump:


Users browsing this thread: 1 Guest(s)