Re: [PHP] header information problem

2004-12-20 Thread Richard Lynch
Ahmed Abdel-Aliem wrote: > Dear Groups members. > > i am making a user protected page, the script works excellent on my > local server, but online it gives me this error : Your local server has output_buffering turned ON in php.ini Your online server does not. > Warning: Cannot modify header

Re: [PHP] header information problem

2004-12-18 Thread Gareth Williams
In the else part, you have the possibility to echo to the screen and later on, then header("Location: ..."); This is the bit which isn't allowed. If you are doing header("Location: ...");, you are not allowed to echo before it. On 18 Dec 2004, at 11:52, Ahmed Abdel-Aliem wrote: Dear Groups memb