UnknownPlayer Posted February 21, 2011 Share Posted February 21, 2011 Hi, i wonna put on my website to ghosts can post comments and registred users, and i made 2 tables ghosts and users, now i need method to save ghosts on that table, but how to save them with uniq number? I tried session_id, but it works bad, when someone comment it write in db his session_id, but after some time, when someone else comment, it can get his session_id, or no ? Link to comment https://forums.phpfreaks.com/topic/228417-need-help-with-ghost-comments/ Share on other sites More sharing options...
ChemicalBliss Posted February 21, 2011 Share Posted February 21, 2011 No, For simplicity im goign to call your "ghosts" => "guests". On most posting boards, guests have very limited power and that is for good reason, among many other vulnerabilities your website has no way of spam control, since the user is not forced to sign up with an email or some other form of external object it makes it very easy to just clear cache/cookies and change ip - ie. Spam spam spam crash. That aside if you really want guests to be able to post just let them post, I would highly discourage this though unless it's something like a shout-box with limited messages and good security. good luck, though Link to comment https://forums.phpfreaks.com/topic/228417-need-help-with-ghost-comments/#findComment-1177872 Share on other sites More sharing options...
UnknownPlayer Posted February 21, 2011 Author Share Posted February 21, 2011 Thanks.. it is easier to put only registred members.. But i thought to set that for the start :S Link to comment https://forums.phpfreaks.com/topic/228417-need-help-with-ghost-comments/#findComment-1177886 Share on other sites More sharing options...
ChemicalBliss Posted February 21, 2011 Share Posted February 21, 2011 Don't be afraid to try your ideas... Just be prepared to get attacked by spammers/script kiddies etc. Live and learn in PHP is the best way as your own mistakes stick with you much easier than someones advice . Link to comment https://forums.phpfreaks.com/topic/228417-need-help-with-ghost-comments/#findComment-1177888 Share on other sites More sharing options...
UnknownPlayer Posted February 21, 2011 Author Share Posted February 21, 2011 This was good comment Link to comment https://forums.phpfreaks.com/topic/228417-need-help-with-ghost-comments/#findComment-1177924 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.