Greeting Card Script
This is an extremely simple script that allows you to send HTML-based greeting
cards, with a space for a personalized message. It requires PHP (I think it
will even work with PHP3, but you'll have to rename the files and links for
".php3"), and a browser that supports JavaScript.
This script is free to download and use, with the following conditions:
- If you distribute it to others in any form, always retain the README file
that comes with it, and the demo that contains links to MaiaTech.Com.
- Do not sell the script for money.
- You may install it for someone else, and charge them a reasonable fee for
installation, but if you do, please send me $15. You can mail that to:
MaiaTech
5906 Montgomery Street
Baltimore, MD 21207
Or you can use PayPal and make a payment to "
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
"
- If
you really like the script, send me $15 anyway, and I'll think you're a
really nice honest person, you'll have a little more good karma, and be
closer to achieving total enlightenment. So you'll have that going for
you, which is nice...
Operation and customization is extremely simple. Each greeting card card is
a plain HTML file with a "placeholder" message surrounded by special
named anchor tags. The demo has three cards, but you can have any number you
want.
A visitor previews the cards by selecting a radio button. They select one,
then they enter email addresses and names and their personal message. They click
Preview, and they can see their chosen card with their message in it. Then they
click Send.
The recipient recieves a plain text email with a URL to their greeting card.
When they view it, the anchor tags and the placeholder message are replaced
by whatever message the sender entered.
UNIX Installation is simple:
- Upload thegreetingcards.tar.gz into your web site directory.
- Untar and unzip it using tar -zxvf greetingcards.tar.gz
- Change to the greetingcard directory that is created.
- Enter 'chmod 777 messages' to give the script permissions to write to the
message directory.
- Use any browser to look at http://yoursite.com/greetingcards/
- Select and send a card to yourself or a friend
Installation for Windoze should be similar, but the commands for
untarring and/or setting permissions may be different. I don't know. I
don't work with Windoze unless someone holds a gun to my head.
Once you have the script working, you can replace the demo cards with anything
you want. Simply create HTML pages (600x400 fits bets in the preview pages)
with a blank spot where you want the sender's message to go. Put in a "placeholder"
message surronded by named anchor tags like this: <a name="messagestart">Your
Message Here<a name="messageend">
That's it! Feel free to customize the other pages to match your website appearance.
If you can, please leave in the link and credit to MaiaTech.
Thanks, and have
fun!