note 46169 added to function.ereg-replace
| From: | NewrozatKurdistanRadiodotcom at osu1 dot php dot net | Date: | Fri, 01 Oct 2004 11:23:28 +0000 |
| Subject: | note 46169 added to function.ereg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77673@lists.php.net to get a copy of this message | ||
To replace 2 backslashes with one slash I tried
$path = ereg_replace("[\\]", "/", $path);
but didnt work.
but this does work
$path = ereg_replace("[\][\]", "/", $path);
----
Manual Page -- http://www.php.net/manual/en/function.ereg-replace.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46169
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46169&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46169&report=yes
Search -- http://master.php.net/manage/user-notes.php