Tom Carter wrote:

> well when you were using echo $name to test then you were outputting html,
> hence no redirect... 

I've tried both w/ and w/o the echo. No difference.

>if your php is set up in such a way as to suppress
> errors then you wouldn't have been warned about it..

No, nothing is being output the page starts with <?. 

>check that nothing
> else is being outputted, eg a space before the first <?. If that doesn't
> fix it turn error reporting down to its lowest level.

But ...
error_reporting(E_ALL) ... that did it. Apparently what the problem was is 
that in an included file there were two trailing spaces after the ?>. 
Making that page end with ?> fixed the redirect.

Thanks to everyone.

Martin S

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to