|  | -
-
- QUESTION:
- I need an example of a WORKING cgi script, so that I can write my scripts correctly... HELP!
ANSWER: - Ok, here is a basic cgi script written in PERL.
If placed into your cgi-bin, named test.cgi, and if proper permissions are set (chmod 755) (rwx rx rx), it will run.
It also must be uploaded in ascii.
#!/usr/local/bin/perl
print "Content-Type: text/html\n\n"; print "Hello world!\n";
#END PROGRAM ############################################################ Please be advised that this is a SUPPLEMENTAL Online Manual.
The PRIMARY Online Manual is inside your Online Control Panel... to access it, just click Documentation link at very bottom of Online Control Panel screen.
You should always consult the Online Manual inside your control panel first... and only consult this SUPPLEMENTAL Online Manual as a last resort. if after consulting the Control Panel Documentation, you still need assistance, please CONTACT SUPPORT top | | |