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

Re: [PHP] Header information ...

2003-01-10 Thread Marek Kilimajer
Should look like this: Anders Mellström wrote: Hello. I can't get this code to work. The error message I get is that the header could be added, cause it has allready been sent. What shalll I do to get it to work? //Anders exit; } else { //print("Byt w

RE: [PHP] Header information ...

2003-01-10 Thread Daniel Kushner
Hi Anders, You can't send a header to the browser once output has been sent. The header() function should be before any other output on your script. Further more, because the script isn't terminated after the header() function, and you usually do not want to continue running it, an exit() should d

Re: [PHP] Header Information for Formatting?

2002-05-02 Thread Jason Wong
On Thursday 02 May 2002 21:05, Jay Blanchard wrote: > G' morning! > > Can someone tell me where to find the various options for the Header > function as it relates to M$ Excel? Yesterday, thanks to this list, we > found a way to open a worksheet in the browser and display data retrieved > from a d