PHP code causes page to download- not display

Discussion in 'Co-op Advertising Network' started by chrisk, Feb 25, 2005.

  1. #1
    I've just added a new site www.carkraftautobody.com but the php code, I guess has caused the page to want to download rather than display.

    I've added a couple of sites before but none that didn't have SHTML. Any suggestions will help.

    Thanks,
    chip
     
    chrisk, Feb 25, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Does your server support PHP?
     
    digitalpoint, Feb 25, 2005 IP
  3. chrisk

    chrisk Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think it supports php. But I'll have to check tomorrow.

    Thanks,
    Shawn
     
    chrisk, Feb 25, 2005 IP
  4. david_sakh

    david_sakh Peon

    Messages:
    1,225
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #4
    godaddy, even the cheapest hosting packages, support php by default.
     
    david_sakh, Feb 25, 2005 IP
  5. chrisk

    chrisk Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Shawn,
    The Site does support php because it uses a .php page for the form handler.

    I've pulled out all of the stuff I added to support the ads.
    I want to start adding it back in slowly to see if I can find where the problem develops.
    Do you have a suggested order of adding pages and script? I'm thinking like this:
    1 .htaccess
    2 ad_network_179.php file
    3 ad_network_.txt file
    4 script on one page
    5 more script pages
     
    chrisk, Feb 26, 2005 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    You don't need an .htaccess file if your site already supports PHP.
     
    digitalpoint, Feb 26, 2005 IP
  7. chrisk

    chrisk Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    OK thanks I'll try it without the .htaccess.
     
    chrisk, Feb 26, 2005 IP