broblems with loginscript

theophilus

New member
Joined
May 19, 2008
Messages
1
hi, all
today i uploaded a loginscript, but i get some warnings.
When i test this same script it works perfect, does someone knows what's wrong? i work with cookies

my warnings are:
cannot modify header information - headers already send by (output started at /home/theophilus/domains/theophillus.gratishosted.nl/public_html/login/index.php:8) /home/theophilus/domains/theophillus.gratishosted.nl/public_html/login/index.php on line 28

need i to set premissions or something?
 
hi, all
today i uploaded a loginscript, but i get some warnings.
When i test this same script it works perfect, does someone knows what's wrong? i work with cookies

my warnings are:
cannot modify header information - headers already send by (output started at /home/theophilus/domains/theophillus.gratishosted.nl/public_html/login/index.php:8) /home/theophilus/domains/theophillus.gratishosted.nl/public_html/login/index.php on line 28

need i to set premissions or something?
You're setting cookies too late in the script or are trying to use a header redirect after setting a cookie. Use Output Buffering [ob_start].
 
Back
Top