PHPWebsite integration
Thanks to Claus Marxmeier <alladin@gmx.net> for putting in the hard work :-)

PLEASE NOTE: This only works with phpWebSite 0.8.XX not 0.9.XX at the present time.

WARNING!
!!! This is still in beta form, and should not be considered stable.  
    You have been warned !!!
ALSO, remember that phpWebSite won't work with register_gloabls turned off (the
default from PHP 4.2.2 onwards)

OK, so if you are still reading then I guess you are interested :-)

1) Open templates/card.tpl and replace the whole contents of the file with:
{CONTENT}

Open templates/form.tpl and search for:
images/layout-top.gif
Replace it with:
mod/sendcard/images/layout-top.gif

Do likewise for images/layout-left.gif

2) Upload the sendcard directory to http://yoursite/mod/sendcard.  Replace
http://yoursite/mod/sendcard/index.php with the index.php found in the
options/phpWebSite folder of the distribution you downloaded.

Copy sendcard.php to http://yoursite/sendcard.php.

3) Using phpMyAdmin or another such database tool, run the following query
against the database containing the phpWebSite tables:

INSERT INTO modules (name, source_file, img, plug_dir, block_pos, block_file, admin_only, user_only, admin_inc, about) VALUES("sendcard - PHP e-cards", "mod.php?mod=sendcard", "poweredbysendcard102x47.gif", "sendcard", "0", "", "0", "0", "admin", "sendcard. (C) Peter Bowyer (peter@sendcard.org) 2000-2002.  All rights reserved.  Latest version can be found at http://www.sendcard.org");

You may have to alter the name of the table you insert this into ("modules" in 
the above example) if you installed phpWebSite using a prefix on the table 
names.

4) Log into the administration area for phpWebSite and click on the link to 
sendcard's administration area.  Install sendcard following the instructions 
in install.txt (except those about uploading files).  When you install 
sendcard, I suggest you give the table basename as "mod_sendcard" to keep it 
inline with that given to the rest of the phpWebSite modules.

You will need to change the paths to the image, template and music directory
paths (under advanced options on the configure page) from xxxx/ to 
mod/sendcard/xxxx/ for it to work.

5) That should be it!  You'll have to add a link in the phpWebSite menu to 
sendcard - the correct file path is: mod.php?mod=sendcard

AT THE PRESENT TIME YOU CANNOT AUTOMATICALLY INSTALL PLUGINS IN SENDCARD WHEN
USING THE INTEGRATION WITH PHPWEBSITE.  To do so you must copy sendcard.php
from http://yoursite.com to http://yoursite/mod/sendcard, chmod it 666, 
install the plugins and copy it back.  Complicated or what?

Please send comments/suggestions/bugs to me at peter@sendcard.org and NOT to
Claus Marxmeier.  Thankyou.