Thank you for downloading our tarot script. As you will see, it is the most versatile script of it's kind.
You can make your readings as simple or detailed as you wish.
Our database is so versatile, that you can use it for ANY type of reading. You could actually use it to do rune readings if desired.
With the Tarot script you can create an unlimited number of spreads. The spreads can be modified to suit the look of your site just by editing an html template.
Our Tarot script comes with some spreads to start you off!
The Tarot database is text based and modifiable. This allows you to change card descriptions and point to other card images easily.
Our Tarot script will allow you to show Tarot readings instantly at your web site, or to send the Tarot reading to your visitors by Email, or both!
A Delayed Email modules is available and you must edit and install it manually.
delay_email.cgi will allow you to delay the email readings by any time desired. This can make it seem like a person actually doing the reading.
delay_email.cgi is run by a cron job. So your web service provider must support and allow this.
It is fully expected that people who user the script will modify the templates to suit their needs.
Automated installer script
install.cgi script is designed to check your servers settings and assist you in quickly setting up the Tarot script. Be aware however, that all web hosting servers are not created equal. Install.cgi is provided as an alternate means of installation. The recommended method is farther down in these instructions.
Copy the entire contents of the folder Tarot_Script up to your web hosts cgi or cgi-bin directory using an ftp program that can discern which files should be uploaded as ASCII or binary. Then set the permission on install.cgi to 755 or equivalent for your web host. Next run http://www.yoursite.com/cgi/Tarot_Script/install.cgi from your web browser. Fill in the missing data and install.
Use install.cgi cautiously. If unsure, use the install instructions below.
Introduction
There are six files required for the tarot script to operate.
tarot.cgi - the script itself which should not need to be modified.
/tarot/databases/XXXX.cgi - a text database of your cards in the deck for ALL the spreads. You will add new files as you add new spreads. There should normally be only one deck.cgi file but depending on complexity, you may want more. It's extension is ".cgi" only for security reasons. It is not a script itself.
/tarot/spreads/XXXX.html - a template of how your spread reading will look. You can modify this to change the spread look and add spread cards (By using tokens. We will elaborate later.) You will need a different spreadtemplate.html file for each type of spread you wish to display to your visitors.
index.html - The first page your visitors will see. This file asks for the visitors name and a question, after which, it runs tarot.cgi and returns the spread results. You can modify it to look the way you want.
core_vars.pm - Variables used for by tarot.cgi
Script operation:
The visitor sees index.html first. They enter their name and question, and possibly email address. After clicking on the submit button, index.html sends the querents name, question, location of core_vars.cgi, location of the spread and card database files, and the current time to the tarot.cgi script. The tarot.cgi script opens the deck and shuffles the card database and chooses the cards. The script then opens the spread template (/tarot/spreads/) and places the cards on the spread template then sends the result to your visitor.
The script uses cookies allowing only one reading per day for each Name/Question/spread/database combination. If you ask a different question, you will get a different reading. If you ask the same question, the same reading will show up for that day. The same applies if you change the name, spread, or database.
Quick Script Installation:
Edit the tarot.cgi to make sure the path to perl is correct for your web host server, i.e.,
!/usr/bin/perl
Warning: Ensure that your text editor you use does not modify line returns in any way and that 'word wrap' is off!
modify the first part of core_vars.cgi to suit your server's settings.
Upload the contents of the 'cgi' directory to your server in ASCII format.
Note, your server may require 'cgi-bin'.
The directory structure and permissions should look similar to:
Thank you for downloading our tarot script. As you will see, it is the most versatile script of it's kind. You can make your readings as simple or detailed as you wish. Our database is so versatile, that you can use it for ANY type of reading. You could actually use it to do rune readings if desired.
With the Tarot script you can create an unlimited number of spreads. The spreads can be modified to suit the look of your site just by editing an html template.
Our Tarot script comes with some spreads to start you off!
The Tarot database is text based and modifiable. This allows you to change card descriptions and point to other card images easily.
Our Tarot script will allow you to show Tarot readings instantly at your web site, or to send the Tarot reading to your visitors by Email, or both!
A Delayed Email modules is available and you must edit and install it manually. delay_email.cgi will allow you to delay the email readings by any time desired. This can make it seem like a person actually doing the reading. delay_email.cgi is run by a cron job. So your web service provider must support and allow this.
It is fully expected that people who user the script will modify the templates to suit their needs.
Automated installer script
install.cgi script is designed to check your servers settings and assist you in quickly setting up the Tarot script. Be aware however, that all web hosting servers are not created equal. Install.cgi is provided as an alternate means of installation. The recommended method is farther down in these instructions.
Copy the entire contents of the folder Tarot_Script up to your web hosts cgi or cgi-bin directory using an ftp program that can discern which files should be uploaded as ASCII or binary. Then set the permission on install.cgi to 755 or equivalent for your web host. Next run http://www.yoursite.com/cgi/Tarot_Script/install.cgi from your web browser. Fill in the missing data and install.
Use install.cgi cautiously. If unsure, use the install instructions below.
Introduction
There are six files required for the tarot script to operate.
tarot.cgi - the script itself which should not need to be modified.
/tarot/databases/XXXX.cgi - a text database of your cards in the deck for ALL the spreads. You will add new files as you add new spreads. There should normally be only one deck.cgi file but depending on complexity, you may want more. It's extension is ".cgi" only for security reasons. It is not a script itself.
/tarot/spreads/XXXX.html - a template of how your spread reading will look. You can modify this to change the spread look and add spread cards (By using tokens. We will elaborate later.) You will need a different spreadtemplate.html file for each type of spread you wish to display to your visitors.
index.html - The first page your visitors will see. This file asks for the visitors name and a question, after which, it runs tarot.cgi and returns the spread results. You can modify it to look the way you want.
core_vars.pm - Variables used for by tarot.cgi
Script operation:
The visitor sees index.html first. They enter their name and question, and possibly email address. After clicking on the submit button, index.html sends the querents name, question, location of core_vars.cgi, location of the spread and card database files, and the current time to the tarot.cgi script. The tarot.cgi script opens the deck and shuffles the card database and chooses the cards. The script then opens the spread template (/tarot/spreads/) and places the cards on the spread template then sends the result to your visitor.
The script uses cookies allowing only one reading per day for each Name/Question/spread/database combination. If you ask a different question, you will get a different reading. If you ask the same question, the same reading will show up for that day. The same applies if you change the name, spread, or database.
Quick Script Installation:
Edit the tarot.cgi to make sure the path to perl is correct for your web host server, i.e.,
!/usr/bin/perl
Warning: Ensure that your text editor you use does not modify line returns in any way and that 'word wrap' is off!
modify the first part of core_vars.cgi to suit your server's settings.
Upload the contents of the 'cgi' directory to your server in ASCII format. Note, your server may require 'cgi-bin'.
The directory structure and permissions should look similar to:
755 /cgi/tarot/ 755 /cgi/tarot/tarot.cgi 755 /cgi/tarot/core.cgi 755 /cgi/tarot/core_vars.cgi 777 /cgi/tarot/data/ 777 /cgi/tarot/data/ 777 /cgi/tarot/data/email_archive 777 /cgi/tarot/data/email_delay 777 /cgi/tarot/data/question_archive 777 /cgi/tarot/data/txn_id
Note: Your server may require different permissions than those shown. Contact your server provider if you are unsure.
You should only need to edit: