MySQL Forums
Forum List  »  Security

Is it safe to insert $_REQUEST from PHP script in MySQL field
Posted by: Nikolay Ivanov
Date: May 23, 2010 06:40AM

Up to now I was creating tables with lot of fields, and every value was checked strictly with mysqli_real_escape_string.

Today i'm thinking of little simplifying my life and putting the entire $_REQUEST to a field in MySQL table.

Unfortunately, I cannot realize if this is going to be safe? Against sql injections.

Please help!

All the best
Niki

Options: ReplyQuote


Subject
Views
Written By
Posted
Is it safe to insert $_REQUEST from PHP script in MySQL field
3779
May 23, 2010 06:40AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.