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
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
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
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
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
5 matches
Mail list logo