1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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