See: stripslashes() and addslashes() functions.

> -----Original Message-----
> From: Harpreet [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 16, 2004 10:01 PM
> To: php-windows
> Subject: [PHP-WIN] using backslash \ in php
> 
> 
> 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
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to