On Mon, Dec 17, 2001 at 10:31:43PM -0600, Michael wrote: > I cant seem to get the ARGV to work right via web I get not found error but > it works via command line. whats the trick? > > It works if I do this get_file.pl test1.txt test2.txt > > but it wont work via http://www.host.com/cgi-bin/get_files.pl test1.txt > test2.txt ---end quoted text---
For CGI stuff, best to use CGI.pm and in particular: $q = new CGI; $foo = $q->param('foo'); otherwise you'll need to handle GET and POST methods and a raft of stuff that people obviate by using CGI to save time and reinventing the wheel. -- Frank Booth - Consultant Parasol Solutions Limited. (www.parasolsolutions.com) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]