You are here: beginner - $_POST and escape sequences, please.... « All PHP « IT news, forums, messages
beginner - $_POST and escape sequences, please....

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

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 ?

 

Navigation:

[Reply to this 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

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