
CGI commands with command line args?
http://www.cs.unc.edu/~brownde/museum
Yes... call the cgi and follow it with a '?' then arguments separated by
'+' signs. For example,
http://www.my-ged.com/db/test.pl?parm1+parm2+parm3
passes the three arguments to test.pl. At least it does on my
apache 1.2.4 on linux. I just tried it out using the following perl
script:
#!/usr/bin/perl
print "Content-type: text/html\n\n<html>
<head><title>Testing parameters</title>
</head><h1>Testing</h2><body>";
foreach $parm (@ARGV) { print "$parm<br>" }
print "</body></html>";
Dave Wilks