Easy way is stripslashes(), just watch out you don't put stripslashed field input into the database
Christian Ista wrote: >Hello, > >I'm trying the example1 give in xml_parse_into_struct section here : >http://www.php.net/manual/en/function.xml-parse-into-struct.php > >works fine. > >But know I'm trying to change the file name "moldb.xml" by a file name >come from a form <input type="file" ....>. > >I receive from the form something like that : >C:\\Directory1\\Directory2\\File.xml >That's not work( the code to parse the XML file) > >But If you replace the the string by >C:\Directory1\Directory2\File.xml >That's work. > >Is there an easy way to change \\ by \ or an another solution > >Christian, > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php