[PHP] Character translation in IE

2001-02-05 Thread Patrick Anderson

Hi,

I am using php, mysql and apache on a linuxserver to create some user
home pages,
and I have a problem with names including special chars.
If I retrieve an url including for example

/photos/BendseMartin97.jpg

everything is ok using netscape, but it doesn't display correct
using IE.

Apache error log reports: File does not exist:
/photos/BendseMartin97.jpg
Using netscape everything is ok and Apache access logs: GET
/photos/Bends%F8eMartin97.jpg


Is there a function to convert the special characters. I checked the
manual, but I only
found translation tables to html entities.

Thanks for any help,

Patrick.

-- 
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]




Re: [PHP] Character translation in IE

2001-02-05 Thread Juan

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/BendseMartin97.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/BendseMartin97.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])
Socit 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]