Hunter,
What you need to do is this:
$Query="SELECT * from $TableName WHERE lastname='$Array[lastname]' OR
firstname='$Array[firstname]' ";
That will get the functionality you are looking for. You might also
want to consider doing this:
$Query="SELECT * from $TableName WHERE lastname LIKE '$A
is wouldn't not happen as root but does as a non root
user?
thanks
Justin Michael Couto[EMAIL PROTECTED]
Director of Operations 805.781.0420
Somnio World Web Solutions http://www.somnioworld.com
-Original Message-
From: Tom Rogers [mailto:[EM
Dan,
I used your example exactly like you have it specified. My cron log
looks like this:
Mar 3 15:53:00 prod /usr/sbin/cron[3085]: (root) CMD
(/usr/local/contab-scripts/wibble.php)
Mar 3 15:54:00 prod /usr/sbin/cron[3085]: (root) CMD
(/usr/local/contab-scripts/wibble.php)
However, it does n
full path to php for cron.
JMC>> something like:
JMC>> 40 * * * * /usr/local/bin/php -q /home/user/phpcliscript
JMC>> Hope this helps.
JMC>> At 10:10 AM 2/28/2003 -0800, you wrote:
>>>The path is
>>>
>>>#!/usr/local/bin/php -q
>>>
gt;But like I said, that can't be the problem because when I run it from
>>the command line, it runs fine. The only problem I am having is that
JMC> it
>>won't run from cron. That is why I think it is an issue with the cron
>>environment. All other types of scripts l
problem I am having is that
it
>won't run from cron. That is why I think it is an issue with the cron
>environment. All other types of scripts like bash scripts run fine
from
>cron. I am surprised no one else has come across this problem before.
>
>Please help me!
>
>
ine, it runs fine. The only problem I am having is that
it
>won't run from cron. That is why I think it is an issue with the cron
>environment. All other types of scripts like bash scripts run fine
from
>cron. I am surprised no one else has come across this problem before.
&g
ripts like bash scripts run fine from
cron. I am surprised no one else has come across this problem before.
Please help me!
Justin Michael Couto[EMAIL PROTECTED]
Director of Operations 805.781.0420
Somnio World Web Solutions http://www.somnioworld.com
---
cron environment, but I am not ssure what it is.
Justin Michael Couto[EMAIL PROTECTED]
Director of Operations 805.781.0420
Somnio World Web Solutions http://www.somnioworld.com
-Original Message-
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]
I am trying to run a PHP CLI script from cron using PHP 4.3 and FreeBSD
5.0
This is what I have verified:
My clock is set right
I can run bash scripts from cron
I have tried running the script as root and as other users
If I run the PHP CLI script by had it works fine
I set cron to run the scri
10 matches
Mail list logo