RE: [PHP-WIN] PATH_TRANSLATED yields \\ instead of \
| From: | Asendorf, John | Date: | Fri, 14 Jul 2000 12:39:33 +0000 |
| Subject: | RE: [PHP-WIN] PATH_TRANSLATED yields \\ instead of \ | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-1084@lists.php.net to get a copy of this message | ||
Yeah, it sure does... I never had to do anything like that before... I
just started hunting through the manual for what I needed. str_replace was
the first thing I found that worked :)
Thanks!
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer
Licking County, Ohio, USA
740-349-3631
> -----Original Message-----
> From: Matthew Kendall [SMTP:mdkendall@hotmail.com]
> Sent: Thursday, July 13, 2000 7:53 PM
> To: php-windows@lists.php.net
> Subject: Re: [PHP-WIN] PATH_TRANSLATED yields \\ instead of \
>
> "Asendorf, John" <JAsendorf@lcounty.com> ...
> > Think I found it... and I was even pretty close with
> > the syntax too... cool
> >
> > $foo = str_replace ("\\\\", "\\", ($PATH_TRANSLATED));
>
> Doesn't the built-in function stripslashes() do what you want?
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net