View Single Post
Old 05-22-2005   #6
iknowalttl
Members
 
Join Date: Mar 2005
Location: Florida
Posts: 215
Default

Quote:
Originally posted by cd34@May 22 2005, 08:45 PM
#!/usr/bin/perl

print "Content-type: text/html\n\n";

open(PWD,'pwd|');
$pwd = join('',);
$pwd =~ s/\n//gi;
close PWD;

print "Current working directory: $pwd
";
... lost me... how do I need to be logged in to use those commands?
__________________
Got Lifeforce?
iknowalttl is offline   Reply With Quote