| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Need help preventing injection - newbie
Hi
I am an oracle newbie. Also an intermediate in mysql.
In the past I've used a method in PHP to prevent injection:
function _escape ( $sql )
{
$args = func_get_args();
foreach($args as $key => $val)
{
$args [ $key ] = mysql_real_escape_string ( $val );
}
$args [ 0 ] = $sql;
return call_user_func_array ( 'sprintf', $args);
}
Wondering if anyone knows the oracle equivalent in PHP for preventing sql injection?
Thanks in advance Received on Sun Nov 18 2007 - 22:46:02 CST
![]() |
![]() |