Setting up Godaddy's MySQL

Discussion in 'PHP' started by pearz76, Dec 21, 2005.

  1. #1
    Hi all,

    I'm suck in Php and MYSQL. Do anyone knows how to configure godaddy web host so that you can run help php ?

    I got some file that I upload to my new domain and free host (http://www.crickets365.com) but it should turn out like this (http://www.1cricketlinks.com/).

    I seems that the php files does not 'kick in'.

    Rgrds
    pearz76
     
    pearz76, Dec 21, 2005 IP
  2. Djohn

    Djohn Peon

    Messages:
    75
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to use .php files for the code to kick in. As far as I can tell, the site is made in .html files.
    Just change the extension and it should be working fine.
     
    Djohn, Dec 21, 2005 IP
  3. onlyican.com

    onlyican.com Peon

    Messages:
    206
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you need to save all pages using php (or just all pages) as .php not .htm

    and .html, ahhhh.

    get away from the L at the end (L norm means learner)
     
    onlyican.com, Dec 21, 2005 IP
  4. pearz76

    pearz76 Peon

    Messages:
    521
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I had change the index.html file to index.php. (It works on the index page but I tried or the rest of the articles pages , it does not works!)

    I thought the htacess file suppose to change all the .html to php? My htacess file code is
    RemoveHandler .html .htm
    AddType application/x-httpd-php .php .htm .html

    Do I have to anything else?
     
    pearz76, Dec 21, 2005 IP