Re: [PHP] Use of special characters in filenames results in IE problems

2001-04-20 Thread Dan Lowe
rawurlencode() - http://php.net/rawurlencode '; $enc = rawurlencode($str); print $enc . ''; ?> -dan Previously, Floyd Piedad said: > > I discovered a bug in my program for uploading files, which stores the > filename in the database in order to create a link for it on the web page in > th

RE: [PHP] Use of special characters in filenames results in IE problems

2001-04-20 Thread Diego Fulgueira
The is no function that i know specific to do that. But you can work it out with a RegExp. Try: $fileName=ereg_replace("_", "[^A-Za-z0-9_%]", $fileName); Cheers!! -Original Message- From: Floyd Piedad [mailto:[EMAIL PROTECTED]] Sent: Thursday, 19 April, 2001 11:24 PM To: [EMAIL PROTECTE