Re: official statement about PHP file extensions?
| From: | Julio Nobrega Trabalhando | Date: | Fri, 19 Apr 2002 13:20:22 +0000 |
| Subject: | Re: official statement about PHP file extensions? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93684@lists.php.net to get a copy of this message | ||
I don't think there's nothing official. If I am not mistaken, rare case,
PEAR recommends using only .php
It's kind of an informal consensus to use .php for anything beyond PHP3
and .php3 for PHP3-only files. This way, you script will work in most of
webservers that exist.
As an open source developer, if you are, I would go with the most used,
.php. Even if you are not.. :-) A client or "boss" can always change
webhosting services and you gotta be prepared ;-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Durk Strooisma" <durk@kern.nl> wrote in message
news:64245.217.170.42.46.1019215974.squirrel@webmail.kern.nl...
> Hi,
>
> Is there any official statement (by php.net) about which file extension
you
> should use when using PHP (1, 2, 3 or 4)? I know that's server related,
but
> isn't there a standard?
>
> http://www.fatcow.com/help/php.shtml states when using PHP4,
> you should
> use .php4. But I have the feeling that's not true. I can remember the
windows
> installation of PHP4 which said .phtml and .php3 were deprecated and .php
> was the only alternative.
>
> Thanks in advance
>
>