![]() |
![]() |
|
Here is how you run a script:
1) Save it as a text file (for example: "test.cgi")
If you have tested your script and it does what you wanted it to, then you are ready to see if it will work over the internet. Here's how to check your Perl Program to see if it'll work on the net:
1) You have to have access to some sort of web servers or provider. If you're not sure if you do, then you probably
don't. Check our homepage list. (???)
4) One thing that you have to have in order for the web browser to work right is one command in your script: print "Content-type: text/html \n\n"; All you have to do is add this line into your script before you output any text to the browser. It just tells the browser that it is looking at html, not any other type of information, like an image. |