I set up php on my Windows Vista Computer and tested phpinfo() and all looks good. And now the problem. When I try to test my scripts I get a download dialog box asking me to save or open the file. If I have an html form and I try to submit the form to a php script I get the download dialog box. I can go through my browser to localhost/phpinfo.info and it displays the phpinfo() script correctly.

Heres another thing, if I have a php script and it expects say firstname lastname and email, and I execute it by double click on it, it works. When I say it works I mean it executed the php code like it should. example. it will say You did not fill in your First Name. You did not fill in your Last Name. You did not fill in your Email address, and obviously this is because there where no variables firstname, lastname email passed to this page, but if I have a form to pass the variables to this page I get that pop up dialog box asking if I want to save or open the file.

This happens no matter where the file is located, desk top, under wwwroot ect.

This is what I did to fix the problem. I googled for days. I uninstalled and reinstalled iis I uninstalled and reinstalled php. reconfigured php.ini file, reset enviroment variables, reconfigured iis, searched here and other forums.

I am now having another problem. after about the 1001 times I recieved the download dialog box I decided to put a check in the box that states something like DO THIS FOR ALL FILE OF THIS TYPE. and now when I submit the form it just brings the script I,m submitting to up in a word doc, and now it does not give me the download dialog box where I can uncheck it and I do not know where to find it to disable or say uncheck it.

Any help you can send this way would be great..

Thank You Damon

    16 days later

    What server is serving your content?

    And plx don't say "Windows Vista". That's not a server.

    There's a tad of discussion about whether it's really an operating system, for that matter. 😛

      If you're just using it for a development server, I would strongly suggest you get rid of IIS and use a better (and easier, IMHO) webserver such as Apache.

        9 days later
        bradgrafelman;10903064 wrote:

        If you're just using it for a development server, I would strongly suggest you get rid of IIS and use a better (and easier, IMHO) webserver such as Apache.

        what if he wants to use that weirdo proprietary language.. a-es-pee or period-net... plus doesnt apache mean you need to use your brain 😉

        that being said... we can help ya with Apache on win if you need... its really not terribly difficult if you dont mind screwing up here and there and reading some man-pages... youll be left much more satisfied with an apache setup than an IIS setup

          Write a Reply...