Page 1 of 1
Extremely Basic Php Feedback Form
Posted: Sun Mar 23, 2008 9:59 pm
by jedivslotr
I wish to find a code snippet that someone has made, that simply parses feedback into a txt file on the server. Would this be secure? And is it practical?
Re: Extremely Basic Php Feedback Form
Posted: Sun Mar 23, 2008 11:47 pm
by alex.barylski
1) If it's *that* basic just hammer it out yourself.
2) Secure, yes. Insecure? Maybe.
Just write a quick script to iterate the $_POST data and dump to a CSV file or something -- simple.
I would suggest writing to a single file and having that name hardcoded in the call to file_put_contents otherwise when you use a dynamic name is when trouble can ensue -- security issues arise.