WampServer
Apache, PHP, MySQL on Windows
Home forum
Back to WampServer
presentation
Downloads
Addons
Trainings
Alter Way
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
header (location: .php); does not work
Posted by:
Ichi-TEK
(---.29.233.220.exetel.com.au)
Date: June 19, 2006 11:57AM
Well I ONLY get this problem on WAMP and not on computers that have apache/PHP and MySQL installed seperately any reasons why?
Options:
Reply
•
Quote
Re: header (location: .php); does not work
Posted by:
roms
(---.w193-251.abo.wanadoo.fr)
Date: June 19, 2006 12:55PM
header(Location: ...)
with a capital L
Romain
Options:
Reply
•
Quote
Re: header (location: .php); does not work
Posted by:
Ichi-TEK
(---.29.233.220.exetel.com.au)
Date: June 19, 2006 01:48PM
ok that still does not work
I get
Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\lib\general\includes\header.php:11) in C:\wamp\www\lib\general\logout.php on line 9
Options:
Reply
•
Quote
Re: header (location: .php); does not work
Posted by:
roms
(---.w193-251.abo.wanadoo.fr)
Date: June 19, 2006 02:41PM
Becuase you outputed something before doind the header();
See the header function in the php doc, you'll get all descriptions (clane your ouptupt before header or use the outpubuffer of php)
Romain
Options:
Reply
•
Quote
Re: header (location: .php); does not work
Posted by:
k776
(---.bliink.ihug.co.nz)
Date: June 20, 2006 06:30AM
Also, I'm sure it needs " before and after the location text:
header("Location: index.php"
;
Options:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login