Command Line
| From: | Travis Conway | Date: | Sun, 12 Dec 2004 15:15:46 +0000 |
| Subject: | Command Line | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-204109@lists.php.net to get a copy of this message | ||
How do you reference command line arguments in php?
i.e., chkmd5.php file.md5
I am wanting to reference file.md5. Since the output of md5sum is not in the RFC I am having to manually parse each md5 and detect whether it is in Win32, Linux, or BSD format. And since php has good built in md5() support it helps out.
Travis