Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2002
    Location
    Michigan
    Posts
    1

    Question everytime i click a php link..

    everytime i click a php link it wants to download the source, and not open it in IE, how do i fix this..?

  2. #2
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,258
    Sounds like the server is not configured for PHP. Since it's not, your browser does not know what to do with the .php file.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  3. #3
    Yep as ffeingol said.. ur server is not configured to understand PHP files so it ask you to download them.. like when u try to run a file where the program which runs it is not there

  4. #4
    Join Date
    Aug 2002
    Location
    Istanbul / Turkey
    Posts
    214
    Normal HTML files contains 2 parts, 1 is Header and 2 is the part you can see in your browser. And Normally PHP files only a standard text files. If your server does not compile your PHP files and does not produce Header your browser gets it as a text file and tries to download.

    Check the PHP conditions of your server. Don't forget PHP is server side language, that means every problem would be on your server.

  5. #5
    Join Date
    Jun 2002
    Posts
    196
    either the servers mime.types file is confilicting, or dosent know what php is or the more likely scenario they didnt add the .php filetype to httpd.conf

  6. #6
    Join Date
    Dec 2001
    Location
    New Hampshire
    Posts
    93
    .htaccess:
    DefaultType application/x-httpd-php
    (or)
    AddType application/x-httpd-php .php
    WYSIWYG

  7. #7
    Join Date
    Oct 2000
    Location
    Denmark
    Posts
    97
    I have experienced this after upgrading to Internet Explorer 6.0. A few PHP links started to do this but 99 % of the PHP coding works fine.

  8. #8
    Join Date
    Aug 2002
    Location
    Istanbul / Turkey
    Posts
    214
    Originally posted by Tox
    I have experienced this after upgrading to Internet Explorer 6.0. A few PHP links started to do this but 99 % of the PHP coding works fine.
    I have been using IE 6 too. But I have been never experienced any problem like this. Would you tell me an URL you are living that problem?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •