Re: redirect
| From: | Chris Shiflett | Date: | Wed, 29 Oct 2003 19:35:09 +0000 |
| Subject: | Re: redirect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168051@lists.php.net to get a copy of this message | ||
--- alain dhaene <alain.dhaene@worldonline.be> wrote:
> I have check my code.
> I haven't use a echo in my code.
> It's very strange. I will search more on the manule.
I don't think the manual will help you here. You *do* have output in your
script prior to the call to header(). Trust me. :-)
One way to find out is to put this directly above the call to header():
exit;
Then, call the script with your browser, view source, and select all
(control-A). If *anything* is highlighted, even whitespace, then that's your
output. Get rid of it, or buffer it (as per another suggestion).
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp