Hi Rab, Googled away, and found that alot of others getting this error. It is also posted on bugs.php.net. Check http://bugs.php.net/bug.php?id=13383 http://bugs.php.net/bug.php?id=12358 for info. For offliners: "It can be solved downloading the version for windows (Version 4.3.3, available in www.php.net). Installing that version it works, if you are running with IIS on Win XP it is necessary to set cgi.force_redirect=0 in your php.ini." "I had the same error all the time. In my case it were the Security-Settings inside the webroot. There need to be a entry like IUSR_XXXX (XXXX is the name of your computer). Give this user at least rights to read the directory." "The CGI error can be solved by opening PWS, clicking on the Advanced button, and adding the folder where your scripts reside to the vitual directories tree (don't forget to enable the execute option by ticking the box)." "The problem goes away by checking the 'Check that files exist' option in the Application Extension Mapping for PHP file extensions, such as '.php'." Hope some of this applies to your problem. If this don't help, it could be good to know what server you're running your live site on. Guessing it's not the same OS / PhP / Apache / IIS ver as your developing environment... - jOWE ? www.virtualjowe.net Rab Nawaz wrote: > Freinds it does not work. > please note it occurs some times not every time. and it never occures > when we test it online (uploaded on the website.).if u guys say, i > can send you the code. > did you guys never come across such a problem. > may be it is some problem with my php configuratuion. > May be there is no solution to it. But I Just wanna know cause of > occuring, Regards > Rabnawaz. > ----- Original Message ----- > From: "Marcello Liagi Antolino" <marcello@mt4.com.br> > To: <php-objects@yahoogroups.com> > Sent: Friday, September 26, 2003 1:56 PM > Subject: Re: give me A Solution for a SQL Server problem > > >> Rab, >> >> it seems to me that is a space is missing after the colon on >> header("Location:somepage.php"). I think it should be >> header("Location: somepage.php") by the HTTP Header's definition. >> >> Please give me a feedback on that, OK? >> >> Regards, >> Marcello >> >> Rab Nawaz wrote: >>> Hi guys, >>> I am facing a problem. I am Using PHP with SQL Server200. >>> Some times when I Redirect a page by the Script >>> 'header("Location:somepage.php");'. it gives CGI Error...'The >>> specified CGI application misbehaved by not returning a complete >>> set of HTTP headers.' But When I refresh the Page then it works >>> fine. >>> Can any body help me out. >>> Regards, >>> Nawaz >>> >>> >>> >>> Look here for Free PHP Classes of objects: >>> http://phpclasses.UpperDesign.com/ >>> To unsubscribe from this group, send an email to: >>> php-objects-unsubscribe@egroups.com >>> >>> >>> >>> Your use of Yahoo! Groups is subject to > http://docs.yahoo.com/info/terms/ >>> >>> >>> >>> >> >> -- >> Marcello Liagi Antolino >> MT4 Tecnologia >> http://www.mt4.com.br >> 11-3064-3226 >> >> >> >> Look here for Free PHP Classes of objects: >> http://phpclasses.UpperDesign.com/ >> To unsubscribe from this group, send an email to: >> php-objects-unsubscribe@egroups.com >> >> >> >> Your use of Yahoo! Groups is subject to >> http://docs.yahoo.com/info/terms/ >> >> >> >> > > > ------------------------ Yahoo! Groups Sponsor > ---------------------~--> Upgrade to 128-Bit SSL Security! > http://us.click.yahoo.com/p7cEmB/s7qGAA/yigFAA/saFolB/TM > ---------------------------------------------------------------------~-> > > Look here for Free PHP Classes of objects: > http://phpclasses.UpperDesign.com/ > To unsubscribe from this group, send an email to: > php-objects-unsubscribe@egroups.com > > > > Your use of Yahoo! Groups is subject to > http://docs.yahoo.com/info/terms/ ------------------------ Yahoo! Groups Sponsor ---------------------~--> Upgrade to 128-Bit SSL Security! http://us.click.yahoo.com/p7cEmB/s7qGAA/yigFAA/saFolB/TM ---------------------------------------------------------------------~-> Look here for Free PHP Classes of objects: http://phpclasses.UpperDesign.com/ To unsubscribe from this group, send an email to: php-objects-unsubscribe@egroups.com Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/