> But, first, you need to use get_magic_quotes_gpc() to see if magic_quotes_gpc
> is
> turned on. If so, you need to run stripslashes() on your variables before you
> run the mysql_real_escape_string() on them.
>
>
> if ( get_magic_quotes_gpc() ) {
> $_POST = array_map('stripslashes', $_P
Jay Ess wrote:
> hessi...@hessiess.com wrote:
>> I have some code which will loop over the whole $_POST array, runs it
>> through mysql_real_escape_string and then writes it all back to the array
>> again, which seams to work. Are there any incompatibility problems or
>> such
>> like with writing i
hessi...@hessiess.com wrote:
I have some code which will loop over the whole $_POST array, runs it
through mysql_real_escape_string and then writes it all back to the array
again, which seams to work. Are there any incompatibility problems or such
like with writing into the $_POST or $_GET array?
I have some code which will loop over the whole $_POST array, runs it
through mysql_real_escape_string and then writes it all back to the array
again, which seams to work. Are there any incompatibility problems or such
like with writing into the $_POST or $_GET array?
function clean_post()
4 matches
Mail list logo