using backslash \ in php

From: Date: Tue, 17 Feb 2004 04:00:33 +0000
Subject: using backslash \ in php
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-22856@lists.php.net to get a copy of this message
I have a form with a textbox that allows a user to enter the filepath. If i enter the file path as c:/ it works just fine. If I type in c:\ on submit form it converts the \ to \\ and on every submit the number of slashes double. How can I use the backslash as I need the backslash for specifing the filepath. How can I stop it to replicate?? Help is appreciated. Thanks, Regards

« previous php.windows (#22856) next »