Alternative to mysql_real_escape_string without connecting to DB Alternative to mysql_real_escape_string without connecting to DB php php