|
Posted by Tom on 05/15/07 17:13
"David Cain" <david@shesurf.ws> wrote in message
news:4648d2af$0$16033$afc38c87@news.optusnet.com.au...
> I am just wondering if there is a PHP function that returns the file
> name or domain name of where the file/script is located that called the
> PHP script in question?
>
> Thanks in advance.
From my understanding PHP pages are normally access from a web browser so
you may be looking for "referrer" information that is typically logged in
your web servers access_log. If may be easier to find a web stats program
and track the information that way. Either way though there is a chance
people can be accessing with web browsers that jumble up the referral
information so that may not always be accurate.
Tom
--
Newsguy.com - Basic Accounts $39.95 / 12 months
Navigation:
[Reply to this message]
|