RE: presmerovani v php

From: Koci Michal (Michal_Koci@koba.sk)
Date: 05. 10. 2001, 15:44 CEST


> Jak mam presmerovat uzivatele na urcitou stranku po odeslani formulare
> pomoci php scriptu? Jeste nejlip na stranku, kde byl uzivatel pred
> odeslanim.
> 
Presmerovanie (proste kuknen na www.php.net a vidim, nee? :)
header ("Location: http://www.php.net/"); /* Redirect browser to PHP web
site */ 
exit; /* Make sure that code below does not get executed when we redirect.
*/

To create a link to the previous page you can use the
getenv("HTTP_REFERER")

	Mifko



This archive was generated by hypermail 2.1.2 : 05. 10. 2001, 15:46 CEST