SV: [PHP-DB] Accents! Pls help. Still very confused.

2005-02-24 Thread Henrik Hornemann
Hi, It is not quite clear what you want to do. You can translate UTF-8 characters into html characters like this: $str = htmlentities($str,ENT_NOQUOTES,'UTF-8'); Or you can translate them in a costumizesd way with strtr() For instance: $translation = array( "ÃÂ" => "Ã", "ÃÂ" => "Ã", "ÃÂ" =

[PHP-DB] 'NONEXISTENT/charsets/ AND recompiling altered module

2005-02-24 Thread Utku Altınkaya
Hi, here is the result of a execution of a script via command line. File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2) Character set '#30' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file so, PHP must be recompiled to make it know here charsets

[PHP-DB] password in md5 to connect to mysql instead of clear password

2005-02-24 Thread Gael Lams
Hi all I use the classic following rows to connect to a mysql database. I always put $passsword in clear in the php connection file and I wonder whether there is a way to have it in md5 so that someone reading the file could not use it to connect to the db. I googled a bit but find only threads ex

Re: [PHP-DB] php/other language (perl)

2005-02-24 Thread mel list_php
Hi, Thanks for the tip Robby! (on my way I even found a soap pear package but that's an other story...) I had a look at it, but it works only with php5, and I'm hosted on php4. So even if I can use it locally I won't be able to use it on line. So I'm back at my starting point. My question wa