darkfreaks Posted December 25, 2008 Share Posted December 25, 2008 anyone got any ideas how i could better escape injection ??? <?php function systemmessage($game,$page,$user,$message) { $timestamp = date("U"); //isnt working injection wise mysql_real_escape_string(strip_tags(mysql_query ("INSERT INTO messages2 (userid,message,link,game,message_time) VALUES ('$user','$message','$page','$game','$timestamp')"))); return 1; }?> Link to comment https://forums.phpfreaks.com/topic/138396-solved-help-with-injection/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.