Custom extentions for php
Posted: Mon Apr 12, 2004 11:25 pm
Hi, i am using custom extensions for php. That is I display .blabla files as if they were .php.
The .htaccess:
DirectoryIndex index.p index.php index.htm index.html
<IfModule mod_php4.c>
AddType application/x-httpd-php .p .php
</IfModule>
However, this works for IE. When I try a wget on my website, all my php code is displayed. (ie it's not parsed) I was hoping someone could help me with this.
Thanks.
The .htaccess:
DirectoryIndex index.p index.php index.htm index.html
<IfModule mod_php4.c>
AddType application/x-httpd-php .p .php
</IfModule>
However, this works for IE. When I try a wget on my website, all my php code is displayed. (ie it's not parsed) I was hoping someone could help me with this.
Thanks.