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

2003-04-03 Thread John Coggeshall
org http://www.coggeshall.org/ -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 03, 2003 2:38 AM >To: [EMAIL PROTECTED] >Subject: Re: [PHP] Can p

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

2003-04-02 Thread Philip Olson
Read this: http://www.php.net/features.commandline > PHP can run as a script indeed. > > #!/usr/bin/php > > Do that like you would perl and then make it executable. Should work. Yes, assuming that's the name and location of the CLI or CGI PHP (and one exists). Typing 'whereis php' or 'whic

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

2003-04-02 Thread [EMAIL PROTECTED]
PHP can run as a script indeed. #!/usr/bin/php Do that like you would perl and then make it executable. Should work. Note that any errors will be chucked back to the terminal in HTML. On 4/2/2003, "Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]> wrote: >Hi, > >This might be a newbie question b

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

2003-04-02 Thread Aaron Gould
Subject: [PHP] Can php run as a script? > Hi, > > This might be a newbie question but I can't find an answer anywhere I > search. I know php can be excuted by a web browser, but can it run as a > script like Perl? > > The reason i ask is, I need to write a php script

[PHP] Can php run as a script?

2003-04-02 Thread Poon, Kelvin (Infomart)
Hi, This might be a newbie question but I can't find an answer anywhere I search. I know php can be excuted by a web browser, but can it run as a script like Perl? The reason i ask is, I need to write a php script that updates a database in a server. And this script needs to be running in the b