Hi to all,
I have this problem: I want to put a dot pl file (my perl script) in a
url and I want it to write the page and the browser to read it.
For instance, this one could be my perl script:
#!/usr/bin/perl
print "HTTP/1.0 200 OK\n";
print "Content-Type: text/html\n\n";
print '<HTML><HEAD>';
print '<TITLE>Done, cattsarola!</TITLE>';
print '</HEAD><BODY>';
Hi, I'm working!
print '</BODY>';
print '</HTML>';
Its name is pl2htm.pl and this is my aim:
1)I write in the URL field in the browser:
http://127.0.0.1/adriano/pl2htm.pl
2)I read in the window browser: Hi, i'm working!
I tried and I tried but a can get no satisfaction...
thanx a lot,
all'adr
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: create a readable webpage Adriano Allora
- Re: create a readable webpage zentara