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