Results 1 to 3 of 3

Thread: How to recieve Comment from guest

  1. #1
    Join Date
    Feb 2010
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Smile How to recieve Comment from guest

    How to recieve comment on server. I made a comment box on my web page.
    Last edited by pam5; 02-20-2010 at 02:15 AM.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    That is the easy part. The HTML form is what the user sees, but the complex coding happens on the server.

    There are two ways to do this:
    1. Use an existing script or service and let that do all the work for you, but this only allows their basic format and sometimes ads (for the free services). These will then send an email to you (or whatever email you use).
    2. Write your own which is harder, but will give you more control.

    To learn to write your own, start with any PHP tutorial.
    You need to specifically learn how to use $_POST and $_GET variables, but beyond that you can do anything with the data you like. You can save it to a database, save it to a file, send it in an email or do other things.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. The Following User Says Thank You to djr33 For This Useful Post:

    pam5 (02-21-2010)

  4. #3
    Join Date
    Feb 2010
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks for quick reply. OK somehow i found code! where i upload this php file on my server.
    http://php-clan.blogspot.com/2009/12...mments-to.html

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •