This is my third project. Again for the sake of doing less work I uploaded it instead of pasting it.
Download:
http://www.mediafire.com/?yuntonjjnjz
Download:
http://www.mediafire.com/?yuntonjjnjz
Simple GuestBook
|
This is my third project. Again for the sake of doing less work I uploaded it instead of pasting it.
Download: http://www.mediafire.com/?yuntonjjnjz
Good job there man, that actually a simple script and I was amazed that it worked with only few lines.
Well done! May I suggest you a change in your writting style. Your script PHP Code: <?php A bit better looking PHP Code: <?php
12-21-2009, 11:32 PM
Thanks, the only thing I'm worried about is once a lot of people post, loading time is going to really long.
Yeah that can become a real pain.
If you don't switch to MySql, you can create new file for every post and allow only limited amount of characters (255 - 500). The you can limit the load by addin Pagination (it's pretty simple), and just load 5 posts per side... If you also use more files and not just one, you can easy delete specified posts. But I gone bit too far, are you planing to make this better or is it just a learning project? Thanks (Click to View)
12-22-2009, 12:20 AM
(12-21-2009, 11:47 PM)Master of The Universe Wrote: Yeah that can become a real pain. More just a learning project, but I still appreciate the help if I ever need to use this (which I probably will)
Nice script !
But, be careful ! When you display the messages, don't forget htmlentities ! You will be victim of XSS if you don't use that. PS : You can concatenate string and variables like this, if you want : PHP Code: fwrite($file, $name . ": " . $message . "<br><br>");
12-22-2009, 03:08 PM
(12-22-2009, 07:57 AM)Spl3en Wrote: Nice script ! Thanks, I was looking for ways to fix xss exploits
12-22-2009, 07:49 PM
Nice Nevets.
|
« Next Oldest | Next Newest »
|