strange characters in URL while displaying in PHP

warmItentee

New Member
I am using PHP to display a fileserver path.What I am getting now:\[code\]file:%22////filsrv//logs//Test//D_log1.1.1%22\[/code\]I am using this method to strip\[code\]$rs1 = preg_replace("/%u([0-9a-f]{3,4})/i","",urldecode($row['ResultDirectory']));\[/code\]but I am not sure If I am using the right one,The actual Path stored in the DB is : \[code\]\\filsrv\logs\Test\D_log1.1.1\[/code\]missing anything?Thanks,
 
Back
Top