|
It is currently Tue Feb 07, 2012 8:50 am
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 2 posts ] |
|
| Author |
Message |
|
infekt_001
|
Post subject: PHP header(Location: url) error... Posted: Wed Jun 02, 2004 10:59 pm |
|
Joined: Wed Jun 02, 2004 10:54 pm Posts: 2
|
|
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??
Please help,
Thanks,
Infekt_001
|
|
| Top |
|
 |
|
infekt_001
|
Post subject: Posted: Wed Jun 02, 2004 11:56 pm |
|
Joined: Wed Jun 02, 2004 10:54 pm Posts: 2
|
|
teehee...
ok, that one server must be more picky for than the others.
it was an extra line after my closing ?> in one of my include files.
Example:
<?php
code
?>
-----extra line----
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
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
|
|