According to an O'Reilly PHP book I have, setting variables_order to "ES" is
safer, but that one will need to create global variables, not rely on them
being created.
Fair enough. But why does setting variables_order to ES cause the following
to break, even though it is what O'Reilly recommends? The "id" variable is
unpopulated. I have PHP 4.3.4 on Linux.
$id = clean($_GET['id'],5);
$result = mysql_query("SE LECT * FROM my_table where id = $id",$db);
$myrow = mysql_fetch_arr ay($result);
safer, but that one will need to create global variables, not rely on them
being created.
Fair enough. But why does setting variables_order to ES cause the following
to break, even though it is what O'Reilly recommends? The "id" variable is
unpopulated. I have PHP 4.3.4 on Linux.
$id = clean($_GET['id'],5);
$result = mysql_query("SE LECT * FROM my_table where id = $id",$db);
$myrow = mysql_fetch_arr ay($result);
Comment