I need to to an ereg_replace for \
$foo = "C:\asp2php"; echo ereg_replace("\","%3A",$foo);
doesn't seem to work for me. Not quite sure what I am doing wrong.
thanks
would be better in htmlentities() encoded this, but it doesn't seem to work.
Would stripslashes() work?