[PHP] Re: Can php run as a script?

2003-04-02 Thread Tim Burden
Look for PHP CLI in google. Recent versions of PHP install at CLI PHP executable by default. e.g I ended up with one in: /usr/local/apache/bin/php [EMAIL PROTECTED] root]# /usr/local/apache/bin/php -v PHP 4.3.1 (cli) (built: Feb 20 2003 14:09:35) Copyright (c) 1997-2002 The PHP Group Zend Engin

[PHP] RE: Can php run as a script?

2003-04-02 Thread Poon, Kelvin (Infomart)
Thanks! but the thing is I have php 4.2.2 version installed in that server. And since it is not 4.3.0 therefore CLI isn't on by default. How can I check if CLI is on or not? If it is not on, I won't be able to excute the php as a script in another other way? THnaks@ -Original Message-

[PHP] Re: Can php run as a script?

2003-04-02 Thread Tim Burden
find / -name php -print - Original Message - From: "Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]> To: "'Tim Burden'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 12:35 PM Subject: RE: Can php run as a script? > Thanks! > > but the thing is I have php 4.2.2 v

[PHP] Re: Can php run as a script?

2003-04-02 Thread Tim Burden
I used to use wget and run cleanup scripts from cron in the usual way. Some people also used to use lynx to do it, I believe. But the best way would be to install latest version of PHP, IMHO. - Original Message - From: "Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]> To: "'Tim Burden'" <[EM