Priyanka R
asked on
I can't run perl script in browser on ubuntu
This is my program
Example.html
If i run example.html in server it shows file not found
Example.html
<html>
<body>
<form action="/cgi-bin/time.pl">
<input type="submit"/>
</form>
</body>
</html>
And my perl script "time.pl"
#!/usr/bin/perl
print "content-type:text/plain\n";
use CGI': standard';
($sec,$min,$hr)=localtime(time);
print "$hr:$min:$sec";
If i run example.html in server it shows file not found
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Wonder if the OP has fixed the problem? If I understand EE's message display David commented (with good advice) nearly a week ago.
Accepting my answer.
Poster has stopped posting.
Poster has stopped posting.