problem with php script on IIS Server at HOST.
Posted: Sat Apr 04, 2009 12:20 am
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.
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..

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.
yesterday it worked well and now today i see this message...Bad Gateway
Web server received an invalid response while acting as a gateway or proxy server.
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..