The Petition script allows you to accept virtual signatures online. Users use Java to digitally sign an e-petition.

Report any bugs to jasonsilver@crookedbush.com.

Yours, Jason Silver

_______________________________________Overview:--------

How It Works:

Users visit your page, and read the petition. If they choose to sign it, they may usetheir mouse as a pen, and sign a Java applet. They can also be required to includetheir contact information.

Later when you wish to view the petition, you go to another page. You may print thispage by choosing 'print' on your browser.

_______________________________________Installation Overview:----------------------- NOTE: If you are updating your script, simply replace the new script(s), but DO NOT replace the signature_data.cgi file. Doing so will erase your existing signatures.

1. Setting some options at the beginning of the signature.pl file2. Setting some options at the beginning of the view_petition.pl file3. Modifying the petition.htm file to reflect your own petition.4. Using FTP to upload the files5. Setting permissions on the files6. Testing the script by submitting and viewing your own signature_______________________________________Here's How!-----------

1. Using a text editor like textpad, or notepad, open the signature.pl script Change the path to perl so that it's configured for your server. It's usually: #!/usr/local/bin/perl or #!/usr/bin/perl

Change the variables to reflect your server's settings as well. If you don't know these, contact the administrator of your server, or pay me to do a installation.

2. Using a text editor like textpad, or notepad, open the view_petition.pl script Change the path to perl so that it's configured for your server. It's usually: #!/usr/local/bin/perl or #!/usr/bin/perl

Change the variables below to suit your server. If you are unsure, contact your server's administrator, or pay me to install it for you.

$datapath = '/home/sites/site27/web/test_area/petition'; # no trailing slash $datafilename = 'signature_data.cgi'; # database text file where signatures are saved. CHMOD it 777 $url_to_applet = "http://yoursite.com/petition/"; # URL only to directory applet is located in $sigs_per_page = 10; # even number $password = "password"; # to show full information, include ?pass=(yourpass) in the address bar. eg: http://www.yoursite.com/petition/view_petition.pl?pass=password

3. Using a text editor like textpad or notepad, open the petition.htm file. Set up the petition to appear however you want. Be sure to include the form information. It should look similar to the following, but you will want to change the provinces to reflect your own country.

4. Use an FTP program like WS_FTP or CuteFTP (just some examples I'm aware of) and create a directory outside of the cgi-bin called petition. Upload the following files to this directory: icon_petition.jpg petition.htm scanvas.class sign.class

5. Now upload the following files to your cgi-bin: signature.pl view_petition.pl signature_data.cgi

Set permissions (CHMOD) on the two .pl files so they are executable. (755). The owner should be able read, write, and execute. The group should be able to read, and execute. Also, other should be able to read, and execute. Set the permissions (CHMOD) on the signature_data.cgi file to 777. The owner should be able read, write, and execute. The group should be able to read, write and execute. Also, other should be able to read, write, and execute.

NOW, TO TEST:

7. From a browser, open the page petition.htm and sign it.

8. Now from a browser open the page view_petition.pl and see if it displays the signatures.

What People Say

FantasyBetting $4.99Add to Cart
After testing several scripts, some of which were very expensive and others free, I must commend Fantasy Betting. I would not be surprise if more free sports betting or sports content related websites change to this script. I say that for anyone with a sports website, fantasy betting script is a must have.James EddissonFreeBetWorld.net
[more & download links]