[PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
Hi, is it possible to de-bug a 'no input file specified' error. I get the error when trying to run my search script but do not know whats causing it. Is it a common error? PHP5 with MySQL adn IIS7 Thanks - Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Philip Graham
On December 19, 2008 17:20:32 Gary Maddock-Greene wrote: Hi, is it possible to de-bug a 'no input file specified' error. I get the error when trying to run my search script but do not know whats causing it. Is it a common error? What code/command/request is causing the error? PHP5 with

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
Hi Philip, Here is my code ... ?php if (!function_exists(GetSQLValueString)) { function GetSQLValueString($theValue, $theType, $theDefinedValue = , $theNotDefinedValue = ) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue =

Re: [PHP] de-bug no input file specified

2008-12-19 Thread mike
first off - you must be coming from ASP for that code :P second - that error is usually due to the SCRIPT_FILENAME being incorrect. not the code in the script. On Fri, Dec 19, 2008 at 2:54 PM, Gary Maddock-Greene g...@maddock-greene.co.uk wrote: Hi Philip, Here is my code ... ?php if

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
the code was generated by Dreamweaver CS3 .. its php! How do I check the SCRIPT_FILENAME please? mike mike...@gmail.com wrote in message news:bd9320b30812191502t2448ef31xa8ad8758f8638...@mail.gmail.com... first off - you must be coming from ASP for that code :P second - that error is

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Philip Graham
Hi Philip, Here is my code ... ?php if (!function_exists(GetSQLValueString)) { function GetSQLValueString($theValue, $theType, $theDefinedValue = , $theNotDefinedValue = ) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue =

Re: [PHP] de-bug no input file specified

2008-12-19 Thread mike
yeah but it stinks of microsoft/vb/asp :) i can't really tell you in IIS, but that's the common reason nginx has a no input file specified - people ask about it all the time. On Fri, Dec 19, 2008 at 3:15 PM, Gary Maddock-Greene g...@maddock-greene.co.uk wrote: the code was generated by

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
Thanks Philip i am running a search from a form (page 1) querying the db and returning the result on page 2 (well thats the theory) ! Philip Graham phi...@lightbox.org wrote in message news:200812191822.58155.phi...@lightbox.org... Hi Philip, Here is my code ... ?php if

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
Hi Mike ... I think Adobe code does look like VB script actually ... I agree :) I wish I knew php better (so I didn't have to rely on crappy Dreamweaver code), I only started using it today and just want to script a simple search form on a 5 colomn products table ... not too hard eh? I have