Re: redirection help

From: Date: Wed, 18 Sep 2002 06:11:23 +0000
Subject: Re: redirection help
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15879@lists.php.net to get a copy of this message
Your problem is that you can not send anything to the browser before the Header command. Only after it. HTH, Ernani "Zac Hillier" <zac@affectors.net> escreveu na mensagem news:006f01c1f372$88e64c20$667ba8c0@affectors... Hi, Have been coding in asp for the past 18 months but have now decided to move our site to php and mysql. In asp we used a function response.redirect to send the user to another page as required, is there a similar function in php that can work from within side the page rather than the header area? We get Warning: Cannot add header information - headers already sent by (output started at D:\php-dev\includes\lg.php:2) in D:\php-dev\includes\lg.php on line 26 When using header("Location: Many thanks for any help. Zac

« previous php.windows (#15879) next »