Halaman

Isnin, Disember 09, 2013

Paypal



The safer, easier way to pay.




Milford Sound in New Zealand



Email Adress:

Comments:




1. The Feedback Form:
Save this code into a file called feedback_form.html Note that this feedback form includes HTML table code for
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Feedback Form</title>  </head> <body> <h1>Send Us Your Feedback!</h1> <form action="send_mail.php" method="post"> <table> <tr> <td>Email Adress:</td> <td> <input type="text" name="email_address" value="" maxlength="100" /> </td> </tr> <tr> <td>Comments:</td> <td> <textarea rows="10" cols="50" name="comments"></textarea> </td> </tr> <tr><td> </td> <td> <input type="submit" value="Submit" /> </td> </tr> </table> </form> <p>Form code inspired by <a href="http://www.quackit.com">Quackit.com</a>!</p> </body> </html>

  1. The "Send Mail" Script
  2. This script has been written in PHP. Your web server will need to support PHP to run this. If you're not sure, upload it and see if it works. Most hosting plans support PHP these days. Save this code as send_mail.php.
    If you change the name of any of the other files, be sure to update this script - the names of those files are included in this script.
    If you decide to add some fields to your feedback form, you will need to add them to this script too.

3. The "Thank You" Page
Save this code into a file called thank_you.html
Thank You

Thanks for your feedback!

We appreciate that you took the time to send us feedback. Your feedback has been sent to the webmaster.
Back to feedback form.
Form code inspired by Quackit.com!

4. The Error Page
Save this code into a file called error_message.html
Error

Oops!

Please ensure you have completed both fields before submitting the form.
Also ensure that there is only one email address.
Back to feedback form.
Form code inspired by Quackit.com!

Tiada ulasan:

Catat Ulasan

Sila tinggalkan komen anda setelah membaca artikal di dalam web ini. Dengan komen itu saya dahulukan dengan ucapan terima kasih dan sila kunjungi lagi web ini.