Home > Archive > PHP Language > October 2004 > session_start not first in file?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
session_start not first in file?
|
|
| zzapper 2004-10-20, 3:56 pm |
| Hi,
I've inherited a working php website, and intially just want to get it working on my intranet
(apache 1.x).
However I have to modify the pages to move the call to session_start to the first line before any
HTML is output, as is recommened in the PHP help files. BUT HOW COME it's WORKING on the LIVE
website?
--
zzapper (vim, cygwin, wiki & zsh)
vim -c " :%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%
s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & life tips
| |
| Ninjaboy 2004-10-20, 8:55 pm |
| somewho the author of the site had the php script to hold of on sending
headers. and cached the html output untill a later time ???
"zzapper" <david@tvisnospam.co.uk> wrote in message
news:dqqcn0tntcgogjvqh1cdkagkhrnfo5dsgm@
4ax.com...
> Hi,
> I've inherited a working php website, and intially just want to get it
> working on my intranet
> (apache 1.x).
>
> However I have to modify the pages to move the call to session_start to
> the first line before any
> HTML is output, as is recommened in the PHP help files. BUT HOW COME it's
> WORKING on the LIVE
> website?
>
>
> --
> zzapper (vim, cygwin, wiki & zsh)
> vim -c " :%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%
s)[[()])-)Ig|norm Vg?"
> http://www.rayninfo.co.uk/tips/ vim, zsh & life tips
|
|
|
|
|