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
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(
> 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
"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
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
;>>>> 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
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 -
"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
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
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
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
-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 :
>>>
&
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
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
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
15 matches
Mail list logo