[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 I

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

2008-12-19 Thread Stut
2008/12/19 David Robley robl...@aapt.net.au: 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

[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 robl...@aapt.net.au 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

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

2008-12-19 Thread Stut
. -Stuart -- http://stut.net/ - Original Message - From: Stut stut...@gmail.com Newsgroups: php.general To: robl...@aapt.net.au Cc: php-general@lists.php.net Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule 2008/12/19 David Robley robl

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

2008-12-19 Thread Gary Maddock-Greene
@lists.php.net Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule 2008/12/19 David Robley robl...@aapt.net.au: 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

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

2008-12-19 Thread Stuart
...@aapt.net.au Cc: php-general@lists.php.net Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule 2008/12/19 David Robley robl...@aapt.net.au: Gary Maddock-Greene wrote: Hi, Don't know if this is the right group but I am having real problems trying

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

2008-12-19 Thread Gary Maddock-Greene
: php-general@lists.php.net Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule 2008/12/19 David Robley robl...@aapt.net.au: 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

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

2008-12-19 Thread Gary Maddock-Greene
Message - From: Stut stut...@gmail.com Newsgroups: php.general To: robl...@aapt.net.au Cc: php-general@lists.php.net Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule 2008/12/19 David Robley robl...@aapt.net.au: Gary Maddock-Greene wrote: Hi, Don't

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

2008-12-19 Thread Stuart
11:58 AM Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule 2008/12/19 David Robley robl...@aapt.net.au: 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

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

2008-12-19 Thread Stuart
@lists.php.net Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule 2008/12/19 David Robley robl...@aapt.net.au: 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

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

2008-12-19 Thread Gary Maddock-Greene
with the -l (lint) argument to check the syntax of a file. -Stuart -- http://stut.net/ - Original Message - From: Stut stut...@gmail.com Newsgroups: php.general To: robl...@aapt.net.au Cc: php-general@lists.php.net Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re: HTTP Error 500

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

2008-12-19 Thread Gary Maddock-Greene
://stut.net/ - Original Message - From: Stut stut...@gmail.com Newsgroups: php.general To: robl...@aapt.net.au Cc: php-general@lists.php.net Sent: Friday, December 19, 2008 11:58 AM Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule 2008/12/19 David Robley robl...@aapt.net.au: Gary Maddock

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

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

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

2008-12-19 Thread Bastien Koert
On Fri, Dec 19, 2008 at 11:48 AM, Jim Lucas li...@cmsws.com 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