You are here: Re: Extensions other than .php « PHP Programming Language « IT news, forums, messages
Re: Extensions other than .php

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]


Удаленная работа для программистов  •  Как заработать на 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

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