I have a problem with creating hyperlinks with filenames that contain apostrophe's or space in them such as a WORD document file with a weir'd name like tedm8'02.doc What happens when I try to create a link is that I get something like "tedm8" and that's it. However it puts the name in the databse just fine with the escaped charcters.
I've tried add slashes, stripslashes ..ereg .....etc, nothing seems to work. The problem is in this line of code, the link is not coming out of a database, it is being created on the fly. The database select code works fine when displaying file names as they are properly escaped.
Any suggestions would be greatly appreciated. I am pretty new to PHP so maybe this doesn't make sense.
Thanks
Ted M.