Custom extentions for php

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
mikusan
Forum Contributor
Posts: 247
Joined: Thu May 01, 2003 1:48 pm

Custom extentions for php

Post by mikusan »

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.
Post Reply