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

Jan Schneider jan@horde.org
Sat, 25 May 2002 18:40:36 +0200


Zitat von Frederic Trudeau <ftrudeau@cam.org>:

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

No, looks fine. Anything in the logs?

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft