Hi,

On Sun, 12 Dec 2004 09:15:46 -0600
"Travis Conway" <[EMAIL PROTECTED]> wrote:

> 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.

I'm not sure what you meant by that (since an md5 checksum is an md5
checksum) but...

> And since php has good built in md5() support it helps out.

I think you're looking for "argv":

http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server

PS
Btw, it's "php-geNeral" and not "php-geMeral" ;)

-- 
- E - on SUSE 9.1 | blackbox 0.65 | copperwalls was here ;)
  "Your eyes saw even the embryo of me, and in your book   
    all its parts were down in writing." - Psalm 139:16 

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

Reply via email to