RE: using backslash \ in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



See: stripslashes() and addslashes() functions.


> -----Original Message-----
> From: Harpreet [mailto:harpreet@xxxxxxxxxxxxxxx]
> Sent: Monday, February 16, 2004 10:01 PM
> To: php-windows
> Subject:  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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux