Search Tutorials
Part 5 - InstallationThis is the most important part of this tutorial. Try to follow the installation instructions as closely as possible. 1) Create a directory called ECards on your server. 2) Upload the Flash files: Ecards.swf, Ecard1.swf, Ecard2.swf, Ecard3.swf, Ecard4.swf, Ecard5.swf and the 2 php files (SendEcard.php and SelectCard.php) to this directory. 3) Create a directory called 'dBText' within the ECards directory. You need to change the permissions of this directory. Basically you have to allow others to write information to this directory. The easiest way to do this is to use an ftp program such as ws_ftp or cute_ftp. The owner permissions should be set to read, write, and execute. The other permissions should be set to read and write. In most cases you can do this by right clicking on the directory you just created and selecting chmod - then you can check off the check boxes that correspond to those directory permissions. If you are having trouble with this just check off all the boxes or use Telnet to change the permissions on this directory to 777. (Note 777 should only be used for testing, since it can become a security issue). 4) Change the Link in the 'SendEcard.php' script to that of your own site. For example if your site was called EcardsDesignEmporium then you would change http://www.flash-db.com/Ecards/SelectCard.php?EcardText=$CreateEcard&ENum=$EcardNum to http://www.EcardsDesignEmporium.com/Ecards/SelectCard.php?EcardText=$CreateEcard&ENum=$EcardNum (on line 15). 5) You will also have to change the line of actionscript located in the first frame of each individual Ecard. 6) The EcardFooter is an optionial item you can add in that allows people to forward the card on. This file is not necessary, but you should make the necessary changes in the 'EcardSelect.php' file if you are not including it. This basically involves getting rid of the second set of <object> and <embed> tags located at the bottom of that file. loadVariablesNum ("http://www.yourSite.com/E-Cards/dBText/"+EcardText+".txt", 0);
Change the above line of code so that 'yourSite.com' really is the link to your site.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|