Re: Redirect

From: Date: Mon, 19 Aug 2002 22:28:24 +0000
Subject: Re: Redirect
Groups: php.windows 
Request: Send a blank email to php-windows+get-15357@lists.php.net to get a copy of this message
G'day This is a function I use when wanting to redirect to another page while running a script: -------------------------------------------------------------------------- function redirect($url) { echo '<script> window.location.replace (\''.($url).'\'); </script>'; } -------------------------------------------------------------------------- or just use -------------------------------------------------------------------------- <script> window.location.replace (\''.(www.your_url_here.com).'\'); </script> -------------------------------------------------------------------------- hope that helped, Jens Habegger -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net

« previous php.windows (#15357) next »