|
Here is how you can send post cards from your site in 3 easy steps:
Step 1.- Create a page to send the cards. This page should include the
following form, just replace "www.yourname.com" with your domain
name:
<FORM METHOD=POST
ACTION="http://www.free-cgi.com/freecgi/postcard/mailcard.php">
<INPUT TYPE=HIDDEN NAME=SendCardURL
VALUE="http://www.yourname.com/sendcard.html">
<INPUT TYPE=HIDDEN NAME=GetCardURL
VALUE="http://www.yourname.com/getcard.html">
<INPUT TYPE=HIDDEN NAME=GreatSite VALUE="http://www.yourname.com">
Include your Free-CGI Username:
<INPUT TYPE=HIDDEN NAME=Username VALUE="your-username">
For every picture you want to send, include something like the following
code (change the picture and title):
The Title
<IMG SRC="/picture.jpg" ALT="The Title">
Image 1 <INPUT TYPE=RADIO VALUE="1" NAME="Images">
<INPUT TYPE=HIDDEN NAME=Title1 VALUE="The Title">
<INPUT TYPE=HIDDEN NAME=Image1 VALUE="http://www.yourname.com/picture.jpg">
Another Title
<IMG SRC="/anotherpicture.gif" ALT="Another Title">
Image 2 <INPUT TYPE=RADIO VALUE="2" NAME="Images">
<INPUT TYPE=HIDDEN NAME=Title2 VALUE="Another Title">
<INPUT TYPE=HIDDEN NAME=Image2
VALUE="http://www.yourname.com/anotherpicture.gif">
The following code is for entering the sender and recipient's info, and the message:
To: (Recipient)
Email: <INPUT TYPE=TEXT NAME=ToEmail>
Name: <INPUT TYPE=TEXT NAME=ToName>
From: (Sender)
Email: <INPUT TYPE=TEXT NAME=FromEmail>
Name: <INPUT TYPE=TEXT NAME=FromName>
Text message:
<TEXTAREA NAME=Message></TEXTAREA>
Close the form:
<INPUT TYPE=SUBMIT VALUE=Send><INPUT TYPE=RESET VALUE=Clear>
</FORM>
Please include our logo and / or link:
<a href=http://www.free-cgi.com><img
src=http://www.free-cgi.com/freecgi/freecgi.gif
alt=www.Free-CGI.com width=88 height=31 border=0></a>
<a href=http://www.free-cgi.com>Powered with Free-CGI</a>
Step 2.- In the page to get the card include the following form:
<FORM METHOD=POST
ACTION="http://www.free-cgi.com/freecgi/postcard/showcard.php">
<INPUT TYPE=HIDDEN NAME=SendCardURL
VALUE="http://www.yourname.com/sendcard.html">
<INPUT TYPE=HIDDEN NAME=GreatSite VALUE="http://www.yourname.com">
<INPUT TYPE=HIDDEN NAME=Username VALUE="your-username">
<INPUT TYPE=HIDDEN NAME=Type VALUE=GetCard>
Password: <INPUT TYPE=Text NAME=Pass Size=30>
<INPUT TYPE=SUBMIT VALUE="Get Your Card">
</FORM>
Please include our logo and / or link:
<a href=http://www.free-cgi.com><img
src=http://www.free-cgi.com/freecgi/freecgi.gif
alt=www.Free-CGI.com width=88 height=31 border=0></a>
<a href=http://www.free-cgi.com>Powered with Free-CGI</a>
Step 3.- Link your pages for sending and receiving postcards from the other pages in your website.
That's it!
And here is how you can send post cards in Spanish:
Just add the following line inside the forms to send and receive postcards:
<INPUT TYPE=HIDDEN NAME=Lang VALUE="Espanol">
That's it!
|