Send head()ers before any html output (including spaces or newlines before <?php)
-- Julio Nobrega. Tô chegando: http://www.inerciasensorial.com.br "Liam Mackenzie" <[EMAIL PROTECTED]> wrote in message 006801c1ed9e$1fddf4a0$0400a8c0@enigma">news:006801c1ed9e$1fddf4a0$0400a8c0@enigma... > Hey all, > > Just curious as to what the best way is to move someone off your site, apart > from bringing up a picture of male pornography... > > Seriously, I've tried using > header("Location: http://www.php.net/"); > but it returns an error saying that the headers are already set. > > The situation I'm in is as follows: > > Need to send a user to http://www.examplesite.com/ from a PHP script in > http://forums.examplesite.com/ > > > Thanks for the help > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php