RE: [PHP-DB] PHP Command Line
| From: | USA) | Date: | Thu, 29 Jan 2004 22:47:36 +0000 |
| Subject: | RE: [PHP-DB] PHP Command Line | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-32705@lists.php.net to get a copy of this message | ||
Bummer... So I can't send the named variables as a query string? Well,
this will work. Thanks!
-----Original Message-----
From: Paul Miller [mailto:pmiller@system-wise.com]
Sent: Thursday, January 29, 2004 3:51 PM
To: 'PHP-DB'
Subject: RE: [PHP-DB] PHP Command Line
php script.php %1 %2 %3 %4
And it is referenced as $argv[arg number]
... I think. To be sure, here is the link to that info:
http://www.php.net/manual/en/features.commandline.php
- Paul
-----Original Message-----
From: Ryan Jameson (USA) [mailto:RJameson@usa.ibs.org]
Sent: Thursday, January 29, 2004 4:34 PM
To: PHP-DB
Subject: [PHP-DB] PHP Command Line
Anyone know how to pass a query string to a php script when you call it
on the command line?
<>< Ryan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php