Page 2 of 2

Posted: Wed Jan 05, 2005 1:38 am
by feyd
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;
?>

Posted: Wed Jan 05, 2005 1:47 am
by Seona
Yay! It works now. Thank you so very much for all your help this afternoon. :)