Re: Redirecting

From: Date: Sat, 27 Apr 2002 04:00:04 +0000
Subject: Re: Redirecting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94856@lists.php.net to get a copy of this message
Send head()ers before any html output (including spaces or newlines before <?php) -- Julio Nobrega. Tô chegando: http://www.inerciasensorial.com.br "Liam Mackenzie" <phplist@operationenigma.com> wrote in message 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 > > > > >

« previous php.general (#94856) next »