Reply to Re: beginner - $_POST and escape sequences, please....

Your name:

Reply:


Posted by Konrad on 02/14/06 19:54

J.O. Aho wrote:

> Konrad wrote:
>
>> Hello all, I'm a complete beginner, I tried to find an answer via
>> google but it's not easy with my knowledge about php :)
>>
>> when a variable is sent via form and retrieved with $_POST['var'] eg:
>>
>> $var=$_POST['f_varname'];
>>
>> then all the " and ' and \\ characters are replaced with \" and \' and
>> \\, how can I avoid this? And actually, why is this working this way ?
>>
>
> $var=stripslashes($_POST['f_varname']);
>
> http://www.php.net/manual/en/function.stripslashes.php
>
>
> //Aho

Thank you!

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация