use the following :
string rawurlencode (string str)
It translate any non standard URL ascii char into there %XX equivalent.
PA> Hi,
PA> I am using php, mysql and apache on a linuxserver to create some user
PA> home pages,
PA> and I have a problem with names including special chars.
PA> If I retrieve an url including for example
PA> /photos/BendsøeMartin97.jpg
PA> everything is ok using netscape, but it doesn't display correct
PA> using IE.
PA> Apache error log reports: File does not exist:
PA> /photos/BendsøeMartin97.jpg
PA> Using netscape everything is ok and Apache access logs: GET
PA> /photos/Bends%F8eMartin97.jpg
PA> Is there a function to convert the special characters. I checked the
PA> manual, but I only
PA> found translation tables to html entities.
PA> Thanks for any help,
PA> Patrick.
_______________________________________
Massuelles Jean-Baptiste([EMAIL PROTECTED])
Société A Comme...
Tel : 03 80 700 702
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]