php oracle sql injection

Do you have questions regarding other database enginges (not MySQL) -- ask here!

Moderators: macek, egami, gesf

Post Reply
User avatar
JordanMRichards
New php-forum User
New php-forum User
Posts: 84
Joined: Mon Apr 23, 2012 7:43 am
Contact:

Re: php oracle sql injection

Post by JordanMRichards » Thu Apr 26, 2012 11:26 am

use

mysql_real_escape_string()

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14 Year Old Programmer & Graphic Artist, Confident and Courageous
Image

User avatar
minimihi
New php-forum User
New php-forum User
Posts: 238
Joined: Sat Apr 14, 2012 11:57 am
Location: Vilnius, Lithuania

Re: php oracle sql injection

Post by minimihi » Thu Apr 26, 2012 12:29 pm

Just a guess. Are you sure that, in this case, you need to use only single oci_fetch_array() mode option?
Did you give a try to

Code: Select all

OCI_RETURN_NULLS + OCI_ASSOC
istead of just

Code: Select all

OCI_RETURN_NULLS
?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests