HI, A good article about magic quotes
http://www.webmasterstop.com/tutorials/magic-quotes.shtml zareef ahmed --- Alexander Kleshchevnikov <[EMAIL PROTECTED]> wrote: > You should chech for configuration of magic quotes > gpc. > Use get_magic_quotes_gpc() function: > > $foo = get_magic_quotes_gpc() ? > stripslashes($_POST["foo"]) : $_POST["foo"]) > ; > > Do it with all GET and POST variables. > > -- > Alexander. > > "Php Mailing List Account" > <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hello everyone, > > > > I had an apache server running with php 5. Now I > installed unix on that pc > and apache and php 5. > > I am using some forms on web pages and get their > values by writing > > $foo = $_POST["foo"]; > > Since I 'upgraded' to unix i am getting a double > backslash for each > backslash entered on the form > > and '\"' for every '"'. > > Could someone please tell me what's going on? Did > I miss a part of the > FAQ? > > (The form looks like > > <form method="post"> > > <input type="text" /> > > <input type="submit" name="action" value="submit" > /> > > </form> > > ) > > > > Thank you in advance > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ===== Zareef Ahmed :: A PHP Developer in Delhi ( India ). Homepage :: http://www.zasaifi.com/zareef_ahmed.php __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php