Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using php in HTML pages .htaccess problem

Status
Not open for further replies.

exphtur

Technical User
Jul 23, 2003
23
IE
I bought a php comment script to put on each page of html on a website that I am putting together using Dreamweaver but it won't run and I was wondering does any one know any other lines other than the ones below that I could try in the .htaccess file. I have not got any response as of yet from the hosting service I use about which line works on their servers

AddType application/x-httpd-php .html .htm .php
Addhandler application/x-httpd-php .html .htm .php
AddHandler x-httpd-php .html .htm .cgi .php

Thank you
 
Does your web host actually support PHP?

Do you get any errors when trying to run them?

Or does it just simply show the PHP code?

You may want to try the forum434

or forum65

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top