Posted: Wed Jan 05, 2005 1:38 am
oops.. sorry, I gave you the wrong expression.. use this (actually tested):
Code: Select all
<?php
$p_Image = 'G:\\\\Clients\\\\Dare2\\\\_images\\\\prices\\\\title_prices.gif';
$ImageName = preg_replace('#^.*[/\\\\\\\\]#', '\\\\1', $p_Image);
$ImagePath = "_images/db_titles/" . $ImageName;
?>