View Full Version : How to recieve Comment from guest
How to recieve comment on server. I made a comment box on my web page.
djr33
02-20-2010, 02:37 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.
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/comment-box-in-php-email-comments-to.html
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.