Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Bastien Koert
On Fri, Dec 19, 2008 at 11:48 AM, Jim Lucas wrote: > Gary Maddock-Greene wrote: > > Yes .. thanks Stuart. If I comment out that line I now get a different > > problem!! > > > > Unable to connect to database. > > > > One step closer!!! > > > > > > Well, now take and place a simple or die(mysql_err

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Jim Lucas
Gary Maddock-Greene wrote: > Yes .. thanks Stuart. If I comment out that line I now get a different > problem!! > > Unable to connect to database. > > One step closer!!! > > Well, now take and place a simple or die(mysql_error()); after your mysql_connect() call $rh = mysql_connect() or die(

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread ceo
> Sorry didn't try your suggestion php -1 ... not sure how to!! Open up MS-DOS prompt. Figure out where your php.exe lives. Let's pretend it's in C:\\php5\php.exe cd to the directory where your script lives. cd C:\\inetpub\wwwroot\search C:\\php5\php.exe -l search.php After yo

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Gary Maddock-Greene
"Stut" Newsgroups: php.general To: Cc: Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule 2008/12/19 David Robley : Gary Maddock-Greene wrote: Hi, Don't know if this is the right group but I am having real problems trying to connect to

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Gary Maddock-Greene
f a file. -Stuart -- http://stut.net/ - Original Message - From: "Stut" Newsgroups: php.general To: Cc: Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule 2008/12/19 David Robley : Gary Maddock-Greene wrote: Hi, Don't know

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Stuart
;>>>> frustrating >>>> >>>> Look in your php.ini and make sure log_errors is on and the filename >>>> it's directed at is writable by IIS. Restart IIS and PHP errors should >>>> then appear in that file. >>>> >>>> Alternati

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Stuart
n your php.ini and make sure log_errors is on and the filename >>>> it's directed at is writable by IIS. Restart IIS and PHP errors should >>>> then appear in that file. >>>> >>>> Alternatively use the PHP command line executable with the -

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Gary Maddock-Greene
"Stut" Newsgroups: php.general To: Cc: Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule 2008/12/19 David Robley : Gary Maddock-Greene wrote: Hi, Don't know if this is the right group but I am having real problems trying to connect to my

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Gary Maddock-Greene
in that file. Alternatively use the PHP command line executable with the -l (lint) argument to check the syntax of a file. -Stuart -- http://stut.net/ - Original Message - From: "Stut" Newsgroups: php.general To: Cc: Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Stuart
ck the syntax of a file. >> >> -Stuart >> >> -- >> http://stut.net/ >> >>> - Original Message - From: "Stut" >>> Newsgroups: php.general >>> To: >>> Cc: >>> Sent: Friday, December 19, 2008 11:58 AM &g

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Gary Maddock-Greene
appear in that file. Alternatively use the PHP command line executable with the -l (lint) argument to check the syntax of a file. -Stuart -- http://stut.net/ - Original Message - From: "Stut" Newsgroups: php.general To: Cc: Sent: Friday, December 19, 2008 11:58 AM Subject

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Stut
-Stuart -- http://stut.net/ > - Original Message - From: "Stut" > Newsgroups: php.general > To: > Cc: > Sent: Friday, December 19, 2008 11:58 AM > Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule > > >> 2008/12/19 David Robley : >>> &

[PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Gary Maddock-Greene
Thanks David, but my log doesn't tell me anything (I don't think) !! I am assuming we are referring to the inetpub logs? -Gary "David Robley" wrote in message news:71.4b.09584.6698b...@pb1.pair.com... Gary Maddock-Greene wrote: Hi, Don't know if this is the right group but I am having real

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Stut
2008/12/19 David Robley : > Gary Maddock-Greene wrote: > >> Hi, Don't know if this is the right group but I am having real problems >> trying to connect to my MySQL db with php. I am trying to create a search >> form. I can connect and display in my browser a simple call to a db record >> but when

[PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread David Robley
Gary Maddock-Greene wrote: > Hi, Don't know if this is the right group but I am having real problems > trying to connect to my MySQL db with php. I am trying to create a search > form. I can connect and display in my browser a simple call to a db record > but when I try to execute my search script