PHP problem.

Discussion in 'Programming' started by pretty_swan, Apr 1, 2009.

  1. #1
    I installed a PHP script in dreamhost. But the script doesn't work.
    When I check the code from IE. I find that the index.php's code is the same as the one in my disk.
    So what's the problem? It seems that the host can't explain the PHP script.
     
    pretty_swan, Apr 1, 2009 IP
  2. iam.xavier

    iam.xavier Well-Known Member

    Messages:
    521
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    125
    #2
    Try running PHP info on the site and see

    
    <?php
    phpinfo();
    ?>
    
    PHP:
     
    iam.xavier, Apr 1, 2009 IP
  3. ultrasonic

    ultrasonic Peon

    Messages:
    30
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Does the script work locally?
     
    ultrasonic, Apr 3, 2009 IP
  4. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #4
    When you go to that page , does it say save as a file ? else php is working but some problem in your script.
     
    it career, Apr 3, 2009 IP
  5. pretty_swan

    pretty_swan Guest

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thanks, everyone.
     
    pretty_swan, Apr 3, 2009 IP