Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 4 of 4
  1. #1
    Join Date
    May 2009
    Posts
    1,576
    Tokens
    0

    Latest Awards:

    Default PHP on a .html page? help..

    Hiya, i have a layout on my site and it is saved index.html but when i try to put the two php scripts on the page it dose not work how do i change this so that the layout and the scripts work?

  2. #2
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    I'm going to presume your host allows PHP, and if so its pretty simple. Just change the extension of the file to .php rather than .html

    If not, you will need to host the PHP files somewhere else and then include them through an iFrame.

  3. #3
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    Johno! said it all really. It seems that all you need to do is change the extenstion of the file. e.g. index.html would become index.php.... The HTML will still work though!
    Back for a while

  4. #4
    Join Date
    May 2009
    Posts
    1,576
    Tokens
    0

    Latest Awards:

    Default

    I thought if i did that it would not work, but it did lol thanks x

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •