Upgraded system and now $_SERVER['SERVER_NAME'] is not more working

From: Date: Sun, 19 Dec 2010 08:52:56 +0000
Subject: Upgraded system and now $_SERVER['SERVER_NAME'] is not more working
Groups: php.general 
Request: Send a blank email to php-general+get-310138@lists.php.net to get a copy of this message
Hello *, I upgraded one of my servers from Debian/Etch to Lenny and now the var $_SERVER['SERVER_NAME'] is not more working. Did I have overseen something? The offending code sniplet is this: ----8<------------------------------------------------------------------ T_setlocale(LC_MESSAGES, $locale); $domain=$_SERVER['SERVER_NAME']; T_bind_textdomain_codeset($domain, $encoding); T_bindtextdomain($domain, LOCALE_DIR); T_textdomain($domain); ----8<------------------------------------------------------------------ and the error messge is here: http://vserver01.tamay-dogan.net/ Thanks, Greetings and nice Day/Evening Michelle Konzack -- ##################### Debian GNU/Linux Consultant ###################### Development of Intranet and Embedded Systems with Debian GNU/Linux itsystems@tdnet France EURL itsystems@tdnet UG (limited liability) Owner Michelle Konzack Owner Michelle Konzack Apt. 917 (homeoffice) 50, rue de Soultz Kinzigstraße 17 67100 Strasbourg/France 77694 Kehl/Germany Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil Tel: +33-9-52705884 fix <http://www.itsystems.tamay-dogan.net/> <http://www.flexray4linux.org/> <http://www.debian.tamay-dogan.net/> <http://www.can4linux.org/> Jabber linux4michelle@jabber.ccc.de Linux-User #280138 with the Linux Counter, http://counter.li.org/

« previous php.general (#310138) next »