BLOG HOME -  UK WEB HOSTING -  PHP MYSQL HOSTING -  RESELLER HOSTING -  eUKhost FORUMS -  VPS HOSTING

PHP file without .php extension

Add the following code in .htaccess file to run php files without .php extension.

AddHandler server-parsed .php

SetHandler application/x-httpd-php

AddHandler application/x-httpd-php .php

OR

RewriteEngine On
RewriteRule ^[^.]+$ - [T=application/x-httpd-php,L]

digg this


This post is compiled by eUKhost.com

Leave a Comment

You must be logged in to post a comment.