You where right. That's what it was doing but now its not reversing the
direction. It at least is a single "\". Have an idea for reversing it. I
played with it a bit but still no go on this.
thanks
----- Original Message -----
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Micah Montoy" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 08, 2003 5:43 PM
Subject: RE: [PHP] preg_replace - understanding
> > $filevalue = str_replace("\\", "/", $filevalue);
> >
> > it is reversing the "\\" to "//" but not replacing them with just a
single
> > "/".
>
> I think you need to escape your \ so each \ is \\ so your string should be
> "\\\\"
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php