The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php files create download box

Discussion in 'General Discussion' started by bobbybobbertson, Sep 5, 2003.

  1. bobbybobbertson

    bobbybobbertson Well-Known Member

    Joined:
    May 30, 2003
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    My php files don't display. They create a download box in the browser, as though the user was trying to download a zip file or something.

    Is this a mime type problem? How do I fix it? Are the wrong headers being sent out?

    cPanel.net Support Ticket Number:
     
  2. pirania1

    pirania1 Well-Known Member

    Joined:
    May 10, 2003
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami, FL
    They need execute permission rights. The best is to give it to others. or at least apache group.

    cPanel.net Support Ticket Number:
     
  3. bobbybobbertson

    bobbybobbertson Well-Known Member

    Joined:
    May 30, 2003
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Nope. I made it world executable and my browser still tries to download the file. Any other suggestions?

    cPanel.net Support Ticket Number:
     
  4. XanTium

    XanTium Registered

    Joined:
    Sep 5, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    maybe a problem with the mime type?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page