Trouble with \\ and form

From: Date: Wed, 16 Oct 2002 12:08:33 +0000
Subject: Trouble with \\ and form
Groups: php.general 
Request: Send a blank email to php-general+get-120163@lists.php.net to get a copy of this message
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,

« previous php.general (#120163) next »