Hi, I'm new to CGI-perl
I tried this basic program...
#!/usr/bin/perl -wT
print "Content-type: text/html\n\n";
print "<html><head><title>Hello World</title></head>\n";
print "<body>\n";
print "<h2>Hello, world!</h2>\n";
print "</body></html>\n";
I have the above script in /var/www directory
when i tried 2 run from the browser its just printing the code again. I have given permissions also...
Help me out...
Thanks...
I tried this basic program...
#!/usr/bin/perl -wT
print "Content-type: text/html\n\n";
print "<html><head><title>Hello World</title></head>\n";
print "<body>\n";
print "<h2>Hello, world!</h2>\n";
print "</body></html>\n";
I have the above script in /var/www directory
when i tried 2 run from the browser its just printing the code again. I have given permissions also...
Help me out...
Thanks...