RE: [PHP] Doing a Multiple Search

2003-03-04 Thread Justin Michael Couto
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

[PHP] Still no luck running a PHPCLI script from CRON

2003-03-03 Thread Justin Michael Couto
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 -Original Message- From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED] Sent

RE: [PHP] Still no luck running a PHPCLI script from CRON

2003-03-03 Thread Justin Michael Couto
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

[PHP] Still no luck running a PHPCLI script from CRON -- getting closer

2003-03-03 Thread Justin Michael Couto
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:[EMAIL PROTECTED] Sent

[PHP] Still no luck running a PHPCLI script from CRON

2003-03-02 Thread Justin Michael Couto
! Justin Michael Couto[EMAIL PROTECTED] Director of Operations 805.781.0420 Somnio World Web Solutions http://www.somnioworld.com -Original Message- From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 9:44 AM Cc: [EMAIL

RE: [PHP] Still no luck running a PHPCLI script from CRON

2003-03-02 Thread Justin Michael Couto
fine JMC 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 -Original Message

RE: [PHP] Can't run PHP cli script from Cron

2003-02-28 Thread Justin Michael Couto
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] Sent

RE: [PHP] Can't run PHP cli script from Cron

2003-02-28 Thread Justin Michael Couto
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 -Original

RE: [PHP] Can't run PHP cli script from Cron

2003-02-28 Thread Justin Michael Couto
before. Please help me! Justin Michael Couto[EMAIL PROTECTED] Director of Operations 805.781.0420 Somnio World Web Solutions http://www.somnioworld.com -Original Message- From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED] Sent: Friday, February 28

[PHP] Can't run PHP cli script from Cron

2003-02-27 Thread Justin Michael Couto
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