Jump to content

need help with ghost comments


UnknownPlayer

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.