[PHP] command line option f -- how do i get the name of the file?

2001-10-27 Thread Lucas Rockwell
Hello, I am writing a script using php's command line ability and I am lost on how to work with a file when I don't kow what the file's name is. Example: script.php -f file In my script, how do I reference the file when I have no idea what it's name is going to be? The scrip will get called

Re: [PHP] command line option f -- how do i get the name of the file?

2001-10-27 Thread DL Neil
I am writing a script using php's command line ability and I am lost on how to work with a file when I don't kow what the file's name is. Example: script.php -f file In my script, how do I reference the file when I have no idea what it's name is going to be? The scrip will get