#346304
$str = "\docs\cheese\dave\aobot"; $new = str_replace('\\', '/', $str); echo $str; echo "<br>"; echo $new;