Ryan Jameson (USA) wrote:
Bummer... So I can't send the named variables as a query string? Well,
this will work. Thanks!
You could pass a querystring-style parameter to a script and then run it
through http://php.net/parse_str but I can't see any benefit to doing that.
--
Stuart
--
PHP Database
Bummer... So I can't send the named variables as a query string? Well,
this will work. Thanks!
-Original Message-
From: Paul Miller [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 3:51 PM
To: 'PHP-DB'
Subject: RE: [PHP-DB] PHP Command Line
php script.php %1 %
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:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2