You are here: Re: [PHP] default mysql connection character-set « PHP « IT news, forums, messages
Re: [PHP] default mysql connection character-set

Posted by Richard Lynch on 03/03/05 20:26

arusp@atasever.net wrote:
> is there a Runtime Configuration variable (php.ini) that defines "default
> mysql connection character-set" like my.cnf's "default-character-set =" in
> the [client] segment ?
>
> otherwise i have to execute "mysql_query('SET CHARACTER SET latin5');"
> everytime after connecting the database .

Errrr.

Your mysql_connect should be in an include file anyway, so you should only
have this in ONE file in the first place...

I don't think there's a performance issue for "SET CHARACTER SET ..." is
there?

--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация