Script Wysardry
Adapting Perl CGI Scripts

Adapting Perl CGI scripts for use at Spaceports.



Home / Script

Back | Next

Tutorials 1 to 10 - Intended for anyone with a site at Spaceports who is interested in learning how to adapt existing CGI scripts.

They are designed to be read in order, and I definitely do not recommend skipping any steps.

Please note:  Sendmail has been disabled due to abuse.  For more details see the August 2001 Update page.

I have now updated this tutorial to explain how to send the messages from your form into a file, but I have been unable to test it myself.  Any feedback from users who have tested this modification would be much appreciated.

My main worry is that the script may not be able to write to the data file after the directory is password protected.

Tutorials 7 and 9 are the only pages affected, and I have marked the changes, so those that have installed the script before only need to read those pages.


Tutorial 1 - An introduction. A little about the tutorial and what you will need.

Tutorial 2 - A simple script to get you started. The famous 'Hello World' script.

Tutorial 3 - File Permissions a.k.a. CHMOD - the bane of all those new to Perl and CGI.

Tutorial 4 - FTP Transfer Modes. The differences and why they are important.

Tutorial 5 - Uploading. How to transfer the example script.

Tutorial 6 - A script at last. The BNBForm form to email script.

Tutorial 7 - Editing the form. Changes needed for the HTML files.

Tutorial 8 - Editing the script. Changes needed for the script files.

Tutorial 9 - Final stage. The finishing touches.

Tutorial 10 - Interplanetary travel. The two servers explained.

Further information - Where you can find out more about Perl scripts.

Site Menu

Bravenet

Section Menu


Copyright © 2000-2003 Wysardry

Most recently updated on 11 May, 2003

Home / Script

Back | Next


Please feel free to contact us with any comments or suggestions
Adapting Perl CGI Scripts
Script Wysardry

This site is hosted by Spaceports