RE: [PHP] PHP & Command Lines
| From: | John Coggeshall | Date: | Sat, 01 Jul 2000 14:57:01 +0000 |
| Subject: | RE: [PHP] PHP & Command Lines | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4213@lists.php.net to get a copy of this message | ||
Yep, you can do that. Check the PHP Docs for argc and argv[] - It follows a
the C model for argument pretty nicely.
John
-----Original Message-----
From: Jonathan Chum [mailto:jchum@techdevelopers.com]
Sent: Friday, June 30, 2000 10:43 PM
To: php-general@lists.php.net
Subject: [PHP] PHP & Command Lines
I was wondering if PHP can handle command lines like PERL. Something
like example.php -1 -d
If so, would it be good thing to write a command line program in PHP.
I just finished coding a PERL indexing script, backend by MySQL with a
PHP3 interface. Now, I want to do it fully with PHP and was wondering
if doing so would be feasible with PHP. . . Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net