Trying to integrate PHP script into HTML website (First time)

Discussion in 'HTML & Website Design' started by warman2442, Dec 14, 2007.

  1. #1
    Hello

    I am trying to integrate a php script into an html website, this is my first time doing so, and yes its for my mega upload premium website :)

    I finished with the html part, but im trying to put the php code into it, and its not working out.

    Will this work if i put it in my .htaccess file?

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


    And what about doing this?


    <?php include("index.html"); ?>

    Tyler
     
    warman2442, Dec 14, 2007 IP
  2. warman2442

    warman2442 Active Member

    Messages:
    1,779
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    98
    #2
    Never mind everyone i fixed it myself by trial and error ;) Im so proud of myself lol

    Sorry i cant delete this topic because the time to delete is over :(

    Tyler
     
    warman2442, Dec 14, 2007 IP