-----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----- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php