problem with php script on IIS Server at HOST.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pavanpuligandla
Forum Contributor
Posts: 130
Joined: Thu Feb 07, 2008 8:25 am
Location: Hyderabad, India

problem with php script on IIS Server at HOST.

Post by pavanpuligandla »

hii..

i've developed forgot password functionality, comprising of 4 steps.
step1 : asks user to input his userID, then checks it with DB if matched goto step2.
step2: asks detailed information like, a secret question n answer, postcode, fname, lname, then these are also validated, then goto step3.
step3: matches all these details with DB then fetches EMAIlL ID of particualr User who forgots his password then sends him email with a reset password link.

my scenario:

when i tested the same script on my APACHE server, it is going smoothly, i uploaded the same to my server(PHP + IIS)(PLESK PANEL) i'm getting this error in step 3 execution.
Bad Gateway
Web server received an invalid response while acting as a gateway or proxy server.
yesterday it worked well and now today i see this message...
i'm pasting my step3 php script here, can anyone please let me know whether it is problem with my script or my HOST SERVER settings?

on my localhost i've windows XP with WAMP server installed..
yesterday when i executed the same script on server,
the functionality worked fine, but unexpectedly i'm getting this error:
"BAD GATEWAY". and sometimes "FAST CGI SCRIPT" error.
on my plesk panel i saw RUN PHP AS : with selection box (3 options ; 1.run as cgiscript, 2. run as ISAPI script, 3. run as fastcgiscript)
any ideas please..
:banghead: :banghead:
Post Reply