View Single Post
Old 03-19-2006, 03:15 PM  
blogman9
Confirmed User
 
blogman9's Avatar
 
Join Date: Dec 2005
Posts: 1,261
Code:
#!/usr/bin/perl

print "Content-type: text/html\n\n";
print "Hello, Im a CGI script and Im gonna print You some environment variables to make You belive that Im working fine smile.gif \n";
print "<br><br>";

foreach $key (keys %ENV) {
print "$key --> $ENV{$key}<br>";
}
This is my cos.cgi
blogman9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote