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

From: Date: Sat, 27 Oct 2001 20:27:49 +0000
Subject: command line option f -- how do i get the name of the file?
Groups: php.general 
Request: Send a blank email to php-general+get-72588@lists.php.net to get a copy of this message
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 by another application: the other application will pipe a file to my scrip and then the scrip has to work with the file and output an altered file with a new filename. I have no idea what the name of the file is going to be beforehand. Many thanks in advance. -lucas ------------------------------ Lucas Rockwell <mailto:lr@meer.net>

« previous php.general (#72588) next »