You could try using forward slashes - they are functionally equivalent from
a PHP point of view...

Mikey

> -----Original Message-----
> From: Jon Phipps [mailto:[EMAIL PROTECTED]
> Sent: 25 July 2003 19:13
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] $_POST issues with file paths
>
>
> Here is my problem I need to read a file path from this construct
> Base Path <input type="text" name="sys_path"
> value="e:\\jon\\site_dev\\php-html" size="40" maxlength="80"><br>
>
> however when I read it with
> $appath=$_POST["sys_path"];
> what I get is
> e:\\\\\\jon\\\\\\site_dev\\\\\\php-html
> not what I am expecting which is
> e:\\jon\\site_dev\\php-html
>
> how can I stop the post method from escaping all my backslashes twice
> or do I have to write a routine that kills the surpluss ones?
>
> Jon
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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

Reply via email to