xtremee Posted June 30, 2007 Posted June 30, 2007 Hi all,I'm just about making my first website and wanna to add box where users can wirte there feed back to me.it is something like this LinkI think i will need db and php So How i can add something like it to my websiteThanks in advance.
ripken204 Posted June 30, 2007 Posted June 30, 2007 (edited) oh i've done this before. you can use php and a .txt file, no database required, i'll try to find my files.edit: okay here we go, just dload the attachment, make sure to have a file called output.txt in the same directory as feedback.phpfeedback.php Edited June 30, 2007 by ripken204
xtremee Posted June 30, 2007 Author Posted June 30, 2007 Thanks for your helpI download your php file and creat my output.txt file then upload them to my website in the same directory but it doesn't work for me !Here are the linkshttp://xtremee.orgfree.com/feedback.phphttp://xtremee.orgfree.com/output.txtThanks in advance
ripken204 Posted June 30, 2007 Posted June 30, 2007 you probably need to chmod the output.txt file to allow writing
xtremee Posted July 1, 2007 Author Posted July 1, 2007 you probably need to chmod the output.txt file to allow writingWhat is mean by chmod = ? This is my first website Thanks
ripken204 Posted July 1, 2007 Posted July 1, 2007 http://www.stadtaus.com/en/tutorials/chmod...permissions.php
xtremee Posted July 1, 2007 Author Posted July 1, 2007 Thanks very much it working now but, when i post a comment then refresh the page with empty input in the boxes it automatically post the previous post but when i open the page in new window then refresh with empty input it doesn't post any thing till i writeI think it is seam that it make buffer or something like that.Thanks for your help
ripken204 Posted July 1, 2007 Posted July 1, 2007 (edited) ya i forgot about that, i made an updated version that fixed it but can't find where i put it.. sorry.i think that one possibility would be to redirect it to another page and then back.. Edited July 1, 2007 by ripken204
xtremee Posted July 1, 2007 Author Posted July 1, 2007 Sorry, HOW to redirect it to another page and then back.. ?
ripken204 Posted July 1, 2007 Posted July 1, 2007 in the form tag have action="anotherpage.html"then in anotherpage.html have a link to go back
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now