On Thursday, March 14, 2002, at 04:00 PM, David Johansen wrote:
> I would like to make a little online feedback and application form. I > was > trying to decide if I should use the mailto action of the form or if > there's > some better way that I can do it in PHP. Is there a way I could just > write > it to a file or something in PHP or is there a more typical and better > way > to pull this off? Thanks, Fundamentally, the script you are wondering about is known as a "guestbook", although it has been rarely used for that purpose since the late nineties. Someone enters some text into an HTML input, hits "submit" and the data either gets stored in a file, database, or is emailed (or processed in some other way). Whether or not the data is visible by other visitors or only by yourself is entirely up to you -- PHP handles such scripts incredibly easily. Julio Nobrega suggested storing the data into a database, which is a good idea especially if you expect a lot of feedback or have a somewhat complicated feedback form that you would like to be able to run complex queries on. You could also simply write this data to a text file or multiple text files, though if you get a lot of feedback it -could- get out of hand. And email is another option. PHP lets you do all of this. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php