Re: [PHP] replace special characters

2005-02-24 Thread Jason Wong
On Thursday 24 February 2005 16:14, Frank Arensmeier wrote: > 1) replace ".." with a string like "file://server/folder" > 2) replace all "\" characters with "/". > > The PHP code looks something like: > > $path_to_file = "..\1 PDF Filer\65051.PDF"; $path_to_file = '..\1 PDF Filer\65051.PDF'; D

[PHP] replace special characters

2005-02-24 Thread Frank Arensmeier
Hello everybody! I was wondering if you could help me with a little problem I ran into some days ago. In my database I have some information about file paths. Originally, those paths come from a Windows Excel spreadsheet and look like "..\1 PDF Filer\65051.PDF". In my PHP code I try to do two t