Subs Frequently Asked Questions

This document attempts to provide detailed answers to many frequently asked questions

My web host and my shell host are different machines. How can I run pirateCheck on the shell host?

If your shell (or telnet) host, is a different machine to the one where your web server runs, you may find that you are not able to run pirateCheck successfully. This is because the names of files that Subs requires will have been entered as valid for the web host. You may have completely differnt path names to get to those files from your shell host. If this is the case, you need to override the file names that config.pl sets up. In pirateCheck, after the call to loadConfig, you will see a comment on how to override the necessary paths. Uncomment the lines of code and change them to suit your site.