Help - Search - Members - Calendar
Full Version: How to "leave your message here"
MSFN Forums > Coding, Scripting and Servers > Web Development (HTML, Java, PHP, ASP, XML, etc.)

   
Google Internet Forums Unattended CD/DVD Guide
xtremee
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 Link
I think i will need db and php blink.gif
So How i can add something like it to my website
Thanks in advance.
ripken204
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.php
xtremee
Thanks for your help
I 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 links
http://xtremee.orgfree.com/feedback.php
http://xtremee.orgfree.com/output.txt
Thanks in advance
ripken204
you probably need to chmod the output.txt file to allow writing
xtremee
QUOTE (ripken204 @ Jun 30 2007, 10:21 PM) *
you probably need to chmod the output.txt file to allow writing
What is mean by chmod = ?
This is my first website wacko.gif
Thanks
xtremee
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 write
I think it is seam that it make buffer or something like that.
Thanks for your help
ripken204
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..
xtremee
Sorry, HOW to redirect it to another page and then back.. ?
ripken204
in the form tag have action="anotherpage.html"
then in anotherpage.html have a link to go back
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.