Web Global Net Web Application & Web Development Project Center

Technical Issues => Apache Related => Topic started by: admin on March 01, 2011, 12:42: PM



Title: allowing php to work regardless of file name
Post by: admin on March 01, 2011, 12:42: PM
Assuming you're host is using the Apache webserver, which most do, you can create a '.htaccess' file (Just create a blank text file called '.htaccess'), and paste in...

AddType application/x-httpd-php .php .html .htm

...Then Save and Upload to the root of your website. That should tell Apache to parse .htm/.html files for PHP code.