Posted by Toby A Inkster on 02/18/07 23:26
Kimmo Laine wrote:
> You always have to put exit after redirection. And mind you this has
> nothing to do with CURL, it's just that PHP won't stop executing a
> script just because you set a header unless you say so.
Whatsmore, PHP doesn't send the headers to the client until you either
output some non-header content or your script exits.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
Navigation:
[Reply to this message]
|