Jump to content

[SOLVED] Injection using GET method


rondog

Recommended Posts

assign your get values to a variable and use functions like mysql_real_escape_string() to remove things that may cause problems

$data = mysql_real_escape_string($_GET['data']);

 

Don't forget you need to be connected to your database for the function to work

 

Ray

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.