RE: [PHP-WIN] using backslash \ in php
| From: | Duane Lakoduk | Date: | Tue, 17 Feb 2004 04:38:50 +0000 |
| Subject: | RE: [PHP-WIN] using backslash \ in php | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22857@lists.php.net to get a copy of this message | ||
See: stripslashes() and addslashes() functions.
> -----Original Message-----
> From: Harpreet [mailto:harpreet@crispincorp.com]
> 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
>