note 20736 rejected from function.ereg-replace by didou
| From: | didou@php.net | Date: | Mon, 22 Jan 2007 00:27:16 +0000 |
| Subject: | note 20736 rejected from function.ereg-replace by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-122019@lists.php.net to get a copy of this message | ||
Note Submitter: mmtach at yahoo dot com
----
found problem:
$path = ereg_replace("\\", "/", $path); //dos path to unix
gives warning error: "EREG_EESCAPE"
this does work:
$path = ereg_replace("[\\]", "/", $path);