Jump to content
MakeWebGames

Recommended Posts

Posted

Re: Preventing Javascript on User comments and User Signatures

Carnage, it wasn't annoying what you did...the fact that it could happen was annoying me. Sorry about last night it was 2:15 in the morning and I was tired from a long night. I tried to go to sleep, but the whole issue kept me up.

Ty for pointing it out, because without you or Some, I would still have a major exploit :)

Posted

Re: Preventing Javascript on User comments and User Signatures

EineyEntertainment here.

$sig = mysql_real_escape_string(strip_tags($_POST['newsig']));

mysql_query("UPDATE `users` SET `sig`='".$sig."' WHERE (`userid` = $userid)");

And your done.. same as (SomeRandomBastard) one... just with the query..

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...