Re: Redirec.t

From: Date: Fri, 28 Mar 2003 23:33:31 +0000
Subject: Re: Redirec.t
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-141521@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 header("Location: http://www.domain.com/admin.php"); if you _really_ need to use your syntax, you could function redirect($uri) { header("Location: ".$uri); } On Friday 28 March 2003 03:28 pm, Johnny Martinez wrote: > Hi all, > Can someone tell me the function to redirect a browser to a specific page? > > Johnny > > For example: > <? > > code... > code... > code finished. > > redirect("http://www.domain.com/admin.php"); > > ?> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+hNv3/rncFku1MdIRAuMUAJoD4F3qD2BNWncsbh4pPDmmG2+avACeKwNz Y71/WUPqjCfWR43xrW553FQ= =k0ku -----END PGP SIGNATURE-----

« previous php.general (#141521) next »