You can't know the name of the script but you can know the complete URI (if available) $_SERVER['HTTP_REFERER']
Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -----Original Message----- From: Alex Shi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 8 October 2002 9:39 AM To: [EMAIL PROTECTED] Subject: [PHP] Referrer How can know the referrer of a script? Let's say script B is linked from script/page A. Is it possible to obtain A's name in script B? Alex -- --------------------------- TrafficBuilder Network: http://www.bestadv.net/index.cfm?ref=7029 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php