Hallo, I don't know if I understood you correctly. But one way to get the url of the last visited page is using
$foobar = getenv('HTTP_REFERER'); This write the url of the last visited page to the variable $foobar. Hope this helps Best regards Marcel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php