home / experts / perl / tutorial / 5 |
|
|
PerlHoo, Part IIIInstallationFirst, I'm making the assumption that you've already installed perlhoo.pl. If not, you will want to go back and read PerlHoo Part I and Part II. The source can be had from here. You'll need Perl 5.004 or greater installed on your system along with the the Text::CSV_XS module. On a win32 system that has the latest version of Perl from Activestate: On any system that has the CPAN module installed (which comes with Perl): Next, install phadmin.pl in a secured CGI directory. I intended to build authentication into the script, but ran out of time. It's important that you not put this script in a directory that's publicly accessible unless you really want anyone to edit your Web directory. I recommend adding another CGI directory that's also setup to require Web server authentication. If you don't have control of your server, you're SOL until I add authentication. Of course, you could use Microsoft's security model, security through obscurity, and hope no one becomes the wiser. Ok, you're almost done. All you have to do now is change two variables in the script.
On lines 32-33, change That should get you up and running. Now let's pop the hood and take a look at the magic and grease inside. |
home / experts / perl / tutorial / 5 |
|
Produced by Jonathan
Eisenzopf and
Created: July 1, 1999
Revised: July 2, 1999
URL: http://www.webreference.com/perl/tutorial/5/