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!
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!