|
Posted by Andy Hassall on 05/27/05 23:28
On 27 May 2005 13:12:45 -0700, "DJ Craig" <spit@djtricities.com> wrote:
>I'm trying to create a .txt file on my server that will log the IP,
>user agent, and referrer of people who access it, and send back
>different contents based on the user agent. The file has to have the
>.txt extension because there are already links to the file on other web
>sites where I can't change the link URL. Is it possible to have PHP
>interpret files with extensions other than .php?
>It would also be useful for finding out when other sites refer to files
>on my server instead of copying the file to their server.
It's a webserver configuration issue, not PHP. Which are you running?
--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Navigation:
[Reply to this message]
|