You are here: Re: Calling PHP file « All PHP « IT news, forums, messages
Re: Calling PHP file

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация