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.
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
The Following User Says Thank You to djr33 For This Useful Post:
Thanks for quick reply. OK somehow i found code! where i upload this php file on my server.