Website downloads instead of opening as normal

Discussion in 'Programming' started by scarface_007, Sep 19, 2011.

  1. #1
    first of all sorry admins i tried different forum and now trying this one remove one thats not suitable.

    Problem is my website downloads when you click url www.digicoon.com

    Instead of normal website opening its downloads im really stuck please someone help thanks.
     
    scarface_007, Sep 19, 2011 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    That depends on how the user has his browser set up fpr that type of file - the site has no control over whether the user will see the page or be prompted to download or run it.
     
    Rukbat, Sep 19, 2011 IP
  3. scarface_007

    scarface_007 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Try it yourself rukbat it will download no matter what.
     
    scarface_007, Sep 19, 2011 IP
  4. toymaker

    toymaker Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    make u sure u have the right header() set
    u shd be header("Content-Type: text/html");
    just to be sure remove any additional headers set
    unless u know what they are for

    content header defines how a browser handles the document
    (link says db connection prob btw)
     
    toymaker, Sep 22, 2011 IP
  5. KsNitro

    KsNitro Greenhorn

    Messages:
    60
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    20
    #5
    This looks like it has more to do with www.digicoon.com than a link on your site. That url has issues with a database that is down and a few other things.
     
    KsNitro, Sep 23, 2011 IP
  6. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #6
    As KsNitro said, either the database is down (unlikely) or you have SMF set up incorrectly for the database. Check the database URL, name, login and password in the SMF configuration file.
     
    Rukbat, Sep 26, 2011 IP