php and iis
I installed php (4 i think) and added the extension to iis. When I try to view a php file through the web browser, I get the following error:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Since I got an error and not just the php file's text, I assume the server extension was installed correctly. The php file I used does work when I simply connect to localhost which uses apache I believe. (installed from phpdev5)
Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51
check if this works
This error happens when you do syntax error in the code of the command
header("Location:$redirectto")
, i.e. used to redirect to the location
Stop reviving old dead threads for god's sake!
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356
Hello Mr I am a developer
I have put this info because when somebody gets such error he should know every possibility whenever he searches for it, these threads are always usefull while coding for all time so in my opinion this is not dead and i don't write that you will say thanks or abuse it.
do u understand.
just don't show that u r somebody ok.
Although in theory that may sound good and all but from experience as a daniweb user, I find that replies to threads older than a year since started seems to effect the priority system of which threads are ordered in the forums. Because if everybody replies to the threads 3 years old then the threads a few months old will be removed from the forums first since the older onces were bumped up the list. Pitty there isn't any rule for the maximum age of a thread you can reply to unless your the creator of the thread. But I guess it's a thing we will need to live with since there are so many new users.
cwarn23
Occupation: Genius
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
Hello Mr I am a developer
I have put this info because when somebody gets such error he should know every possibility whenever he searches for it, these threads are always usefull while coding for all time so in my opinion this is not dead and i don't write that you will say thanks or abuse it.
First of all, breathe (or you will run out of breathe). I agree, If someone searches for this particular question, he will eventually get here. But I don't find your answer relevant to the question. That answer doesn't make any sense either.do u understand.
No. Unfortunately, I didn't understand a word you said.just don't show that u r somebody ok.
Huh! What does that even mean Mr. Developer ?
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356
I thing u r stretching this thread now. unnecessarly posting two times as an answer. I said developer because i want to show how this solution matters to me
Posting as an answer ? Did I ever mention those replies were "answers" ? I have no reason to stretch this thread. Its you who is bumping a 3 year old thread with unwanted replies (which is no way related to the question posted). I don't want to waste my time after this.
I am happy that you are a quick learner. :)
Edit: I also wonder if header is the panacea for every CGI problem. Hmm..
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356