dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: antislash problem...

  1. #1
    Join Date
    Sep 2006
    Posts
    270

    antislash problem...

    Hi !

    For some local application involving javascript and php, I have to enter the address of a file on the machine, something like C:\path\to\yourfile. The problem is that this antislash are escaped and the address becomes : Cathtoyourfile. Is there a way to keep these ? I tried urlencode but this is not recognized ... please help !

    thanks a lot in advance !

  2. #2
    Join Date
    Jun 2006
    Location
    Down at the bottom of the garden
    Posts
    1,239
    Try using "C:\\path\\to\\yourfile"

  3. #3
    Join Date
    Jan 2005
    Location
    Alicante (Spain)
    Posts
    7,742
    Quote Originally Posted by patimages
    C:\path\to\yourfile
    Or use forward slashes: C:/path/to/yourfile

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles