Filed under:
What do I need to do to get my Perl / ASP / PHP script to work ?
Before mosts script will run on a hosting server, it has to be uploaded into your /cgi-bin/ directory (in ASCII mode unless encoded) and made executable (CHMOD 755).You may also need to set the correct extension on the file:
- Perl files need to have the extension .pl or .cgi 1st line must read #!/usr/bin/perl
- Debug Perl files need to have the extension .pld or .cgid
- ASP files need to have the extension .asp
- PHP files need to have the extension .php
- iHTML files need to have the extension .ihtml
We recommend that each script is placed in it's own sub-directory within /cgi-bin/
Add to Favourites Print this Article
Also Read