Posted: Wed Jun 02, 2004 9:59 pm Post subject: PHP header(Location: url) error...
I have written some PHP code that works perfectly on 2 out of 3 servers.
On one of my servers I get the error:
Warning: Cannot modify header information - headers already sent by (output started at /home/hosttek/public_html/PHPMembershipSite/classes/clsMetaContent.php:49) in /home/hosttek/public_html/PHPMembershipSite/login.php on line 22
It refers to my line of code where I use my header(Location: url) function, to redirect my page.
Why would one of my servers generate this error? It is a PHP enabled server. Is there a setting that must be made??
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum