Thread: opening php files in IE6

  1. #1
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    715

    opening php files in IE6

    Hello guys, I'm having problem with opening local php files on my computer in IE6. In firefox it works fine. To test it I've change extension of a simple txt file to php and IE6 won't open it. I tried to allow active content in IE options but still I'm having problems. I'm using win XP SP2.
    Do you have any advice?
    Thanks
    Gotta love the "please fix this for me, but I'm not going to tell you which functions we're allowed to use" posts.
    It's like teaching people to walk by first breaking their legs - muppet teachers! - Salem

  2. #2
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I can't open php files in IE6 either. I allways thought that it had somthing to do with the hyper text transfer proc. that converted it, but I see now that am wrong sence it opens in FireFox.

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    disregarding the fact that modern http clients incorporate facilities to view local files (without a server) - php files are not designed per se to be opened with an http client - so why should you expect them to be able to? open them with your favorite text editor for authoring, install and run an http server (such as apache) to view them...

    [edit]
    on second thought, the fact that IE6 won't even open it as a text file is pretty odd. it's possible that there is no registered shell extension (default opener) for that file type. possible, but unlikely since you probably *do* have a text editor or something registered for that file extention. even if not, it seems it should open it as a text file by default.
    [/edit]
    Last edited by Sebastiani; 03-02-2006 at 11:56 PM.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  4. #4
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I know the Opera browser is free, is FireFox?

  5. #5
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    yep.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  6. #6
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    715
    Sebastiani, did you try it yourself? Change extension of txt file to php and try to open it with IE and then with firefox. I really can't explain why is that...
    Gotta love the "please fix this for me, but I'm not going to tell you which functions we're allowed to use" posts.
    It's like teaching people to walk by first breaking their legs - muppet teachers! - Salem

  7. #7
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    actually, it works for me with IE6 (version 6.0.2800.1106) running on Windows2000 Professional. it may be the way the browser is incorporated into the XP OS?
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  8. #8
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I am also running win2000pro. But using version 6.0.2800.0000IC, under IE's about it also says that I'm using a "custom version".

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Opening files.
    By omnificient in forum C Programming
    Replies: 9
    Last Post: 02-25-2008, 02:05 PM
  2. Opening ASCII files in C?
    By Mavix in forum C Programming
    Replies: 6
    Last Post: 04-25-2007, 02:23 PM
  3. opening files
    By angelic79 in forum C Programming
    Replies: 3
    Last Post: 10-19-2004, 06:52 AM
  4. Replies: 2
    Last Post: 11-05-2001, 02:02 PM
  5. Opening files - Giving options?
    By wwwGazUKcom in forum C++ Programming
    Replies: 3
    Last Post: 09-18-2001, 07:06 AM