RE:Re: [PHP] Executing a PHP script without a *.PHP extension?
| From: | shanx at shanx dot com | Date: | Wed, 18 Oct 2000 09:58:56 +0000 |
| Subject: | RE:Re: [PHP] Executing a PHP script without a *.PHP extension? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20858@lists.php.net to get a copy of this message | ||
Hi Dan,
I understand that I can choose any extension to recognized as a PHP program, in fact I can do that
in one line:
AddType application/x-httpd-php .php .shx .blah
My question was what if I want files without ANY extension to be parsed by Apache as PHP files as
well...
Any ideas?
Shanx.
>>If I rember corectly, you need to alod define
>>the extensions as being a php script..Basicly
>>in either httpd.conf or srm.conf depending on
>>how you installed php, you need to also add the
>> extension so it reasls something like
>>AddType application/x-httpd-php3 .php3
>>AddType application/x-httpd-php3 .phtml
_________________________________________________
The simple way to read all your emails at ThatWeb
http://www.thatweb.com