Lemur zaprasza
DOCUMENTATION FOR HTMLOCK HTML PROTECTION CGI SCRIPT PROTECT IMAGES FROM THEIVES Contact Us Download Area
Documentation Copyright 2001 Psybercore, Inc. - All Rights
Selling redistributing or modifying any or
System Requirements lPerl 5l Preliminaries lDetermine the path to PERL 5 on your web server host. Note that some web hosting companies run both PERL 4 and PERL 5. Make ABSOLUTELY sure you are not setting this up under PERL 4. Ask your administrator if you are not sure. l lIf you need to review or learn the basics of CGI and Perl visit the tutoriall lDownload the tarfile for this program and save it to your desktop.l lUnpack the tar archive on your desktop using a program that unpacks UNIX TAR ARCHIVES. If you don't have such a program then download WINZIP FREE from SHAREWARE.COM. l lAfter you have unpacked the TAR archive you will have a collection of folders and files on your desktop. Now you have to do some basic editing of each of these files (or at least some of them). Use a text editor such as wordpad, notepad, BBEdit, simpletext, or teachtext to edit the files. These are NOT WORD PROCESSOR DOCUMENTS they are just simple TEXT files so don't save them as word processor documents or save them with extentions such as .txt or they will NOT WORK. Note that there may be a some files inside of folders which are "blank". This is normal.l Preparing the CGI scripts Define Path To PERL 5 The first step is to open up each and every
#!/usr/bin/perl If the path to perl 5 on your web server is
Configure htmlock.cgi edit path to webpage Find the line inside htmlock.cgi where the
open (HTMLFILE,
Add Javascript (norightclick.java) to
Insert the javascript included in the file
Chmod the files Chmod htmlock.cgi to 755 and chmod your
Edit the new protected page (see demopage.html) Create a new HTML webpage using the
VERY IMPORTANT! Do NOT use relative links to images or urls
|