I would like to know if it is possible to create request with no space with MySQL ?
I tested the security of my own website, and I've put in: str_replace(" ", "", $POST['id']);
All sql injection becomes :
id=-1 UNION SELECT pass...
after strreplace :
-1UNIONSELECTpass
Would that give me a high level of security on my own website? Are there other ways to inject SQL into a query ?
I've already put an mysql_real_escape_string() on the query.