RE: PHP Command Line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx] 
Sent: Thursday, January 29, 2004 3:51 PM
To: 'PHP-DB'
Subject: RE:  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@xxxxxxxxxxx]
Sent: Thursday, January 29, 2004 4:34 PM
To: PHP-DB
Subject:  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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux