View Single Post
  #1 (permalink)  
Old 06-04-2008, 09:52
BauerUK BauerUK is offline
new member
 
Join Date: Apr 2008
Posts: 1
Default Problems with PHP and htaccess

I'm having some trouble with my shared hosting, .htaccess and PHP.

Whenever I create a htaccess handler rule for a specific directory, all that happens is when I attempt to run my PHP scripts they are shown as a standard download, and I can save the script locally.

This is an example of what I'm attempting:

Code:
AddType application/x-httpd-php .png .php
This is so I can create dynamic PNG images in PHP and use them in my site. I'm not sure what's going wrong here, any help would be appreciated.
Reply With Quote