I run php file but browser opens File Save window

Discussion in 'PHP' started by globalcashsite, Apr 1, 2010.

  1. #1
    Hi guys

    I uploaded my script to a free hosting website 50webs.com but when I run my php script i.e. index.php browser opens File Saving window. Why it is so? My script is working fine at another place. Please help me.

    GCS
     
    globalcashsite, Apr 1, 2010 IP
  2. nabil_kadimi

    nabil_kadimi Well-Known Member

    Messages:
    1,065
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    195
    #2
    Was it working before?
     
    nabil_kadimi, Apr 1, 2010 IP
  3. nimonogi

    nimonogi Active Member

    Messages:
    398
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    80
    #3
    Check if there is an .htaccess file in your root folder and comment out the code inside.
     
    nimonogi, Apr 1, 2010 IP
  4. Narrator

    Narrator Active Member

    Messages:
    392
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #4
    make sure your host supports PHP
     
    Narrator, Apr 1, 2010 IP
  5. brad.smith4321

    brad.smith4321 Peon

    Messages:
    249
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    it may happens when sumtime your Os not supporting PHP, or on which hosting your domain is not proper........
     
    brad.smith4321, Apr 1, 2010 IP
  6. Alex Roxon

    Alex Roxon Active Member

    Messages:
    424
    Likes Received:
    11
    Best Answers:
    7
    Trophy Points:
    80
    #6
    It just sounds like PHP isn't installed. A lot of free hosts don't support it.
     
    Alex Roxon, Apr 2, 2010 IP
  7. funmasti.org

    funmasti.org Peon

    Messages:
    107
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    100% PHP is not installed. Contact your host provider
     
    funmasti.org, Apr 4, 2010 IP