[dev] very off topic, but I would need serious help please.

Frederic Trudeau ftrudeau@cam.org
Sat, 25 May 2002 12:31:44 -0400


hello all.

I build an application much like IMP + Horde, that uses Gettext for language 
options, SSL + sessions under PHP. Im not sure if im doing something wrong 
here, but I happens frenquently that I get DNS errors while browsing through 
the application ...

All my pages are starting with this code ...

<?
session_start($PHPSID);

// If user is accessing directly this page, forward him to index
if(!session_is_registered(SESS_LOGIN)) {
        header("Location:index.php");
}

require("../_config/services.inc.php");
require("../_config/config.inc.php");
require("../_config/functions.inc.php");

bindTextDomain("usage",'../locale');
textDomain('usage');
putenv("LANG=$SESS_LANG"); 
setlocale(LC_ALL, $SESS_LANG);
?>

can you see anything wrong in here ??

Thanks for any help, it would be appreciated.


--------------------------------------------------------------------
Message envoyé grace au système de courrier en-ligne de CAM Internet
Mail sent with CAM Internet's webmail system 

http://www.cam.net
Tel/phone : 514-529-3000
Fax : 514-529-3300