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 ? Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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 . Quote Link to comment Share on other sites More sharing options...
UnknownPlayer Posted February 21, 2011 Author Share Posted February 21, 2011 This was good comment Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.