Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to check ID of a calling page

Status
Not open for further replies.

terryISO

Programmer
Sep 29, 2002
48
GB
Hi.

I know how to find the identity of a web page which calls a Perl script on my server, using $ENV{'HTTP_REFERER'}.

Some of my Clients run their calling pages as Internet pages, but some are running web pages as files, so that instead of the page location being (for example) " it would be something like "G:\html\page.html".

Now, $ENV{'HTTP_REFERER'} doesn't capture that information for local pages (it is empty).

Can anyone tell me how to find and capture the refering page's address (I need the filepath information - the "G:\html\" part)?

Many thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top