blood Posted October 2, 2003 Report Share Posted October 2, 2003 Como redireciono em PHP? :huh: Quote Link to comment Share on other sites More sharing options...
0 rockbilly Posted October 2, 2003 Report Share Posted October 2, 2003 header (location: "http://www.site.com.br"); Quote Link to comment Share on other sites More sharing options...
0 prá lá de mahakesh Posted October 2, 2003 Report Share Posted October 2, 2003 tem um detalhe importante também, é que nenhuma informação pode ter sido enviada ao browser para que funcione e não retorne erro. Quote Link to comment Share on other sites More sharing options...
0 blood Posted October 2, 2003 Author Report Share Posted October 2, 2003 tem algum outro jeito? esse serve pra ficar antes d qualquer tag html...(eu acho) Quote Link to comment Share on other sites More sharing options...
0 Guest Guest Posted October 2, 2003 Report Share Posted October 2, 2003 emende java script:echo "<script language=\"javascript\" type=\"text/javascript\">"; echo "document.location.href = \"pagina.php?id=".$id."\";"; echo "</script>";ou algo parecido....talvez uma função se quiser, sei lá.... Quote Link to comment Share on other sites More sharing options...
0 Guest Marcelo Posted October 7, 2003 Report Share Posted October 7, 2003 emende java script:echo "<script language=\"javascript\" type=\"text/javascript\">"; echo "document.location.href = \"pagina.php?id=".$id."\";"; echo "</script>";ou algo parecido....talvez uma função se quiser, sei lá.... <? ob_start();?> Código HTML <? header("Location:pagina.php");?> ICQ 12045528 Quote Link to comment Share on other sites More sharing options...
Question
blood
Como redireciono em PHP? :huh:
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.