[eluser]murphybr[/eluser]
that didnt work.
href is still breaking instead of showing ip/path/to/file/Murphy
it is showing the link as ip/path/to/file/Murphy\
coudl href be breaking the whitespace or \ issue.
my dirArray[] is echoing as follows when i type a print_r($dirArray)after building the dirArray
Array ( [0] => . [1] => Murphy File Transfer.docx [2] => upload_test.txt [3] => .. [4] => Murphy_Test.xls [5] => job_interview_suc.pdf )
after str_replace it appears as follows
Array ( [0] => . [1] => Murphy\ File\ Transfer.docx [2] => upload_test.txt [3] => .. [4] => Murphy_Test.xls [5] => job_interview_suc.pdf )