Well now I'm more puzzled, cause it seems that i cant find set_globals. All I found is register globals, and i remember that was different, but in any case its on.
let me send you the code: this works -- code -- <? session_start(); ?> <?php if(!(session_is_registered(Nick))) header("Location:../Spanish/login.php") ?> <?php include("languages/".$_SESSION['Idioma']."/main.php"); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><!-- InstanceBegin template="/Templates/members.dwt.php" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- InstanceBeginEditable name="doctitle" --> <title><?php echo $Language['Titulo']." ".$_SESSION['Nick']; ?></title> -- end of first code... then i go to the first page from here. -- code -- <? session_start(); ?> <?php if(!(session_is_registered(Nick))) header("Location:../Spanish/login.php") ?> <?php include "http://www.vampmaster.net/Members/languages/".$_SESSION['Idioma']."/main.ph p"; ?> <?php include "http://www.vampmaster.net/Members/languages/".$_SESSION['Idioma']."/c_domin ios.php"; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><!-- InstanceBegin template="/Templates/members.dwt.php" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- InstanceBeginEditable name="doctitle" --> <title><?php echo $Language['Titulo']." ".$_SESSION['Nick']; ?></title> -- end of second code. This no longer work... its the same thing but the second one wond work... any insight? Vamp "Rafael Cotta" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > "Elliot J. Balanza" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I have a very strange problem, and i don't seem to figure out what is > wrong. > > > > I start a session, and register $_Session['Idiomas']; > > then i go to another page and select > > > > require("/lanugages/".$_Session['Idiomas']."/main.php") > > > > to require the text array to display text. Now here comes the weird > thing... > > The first time I enter a page, it loads perfectly, then I go to another > > page, use the same exact sintax coming from the exact same directory, and > > the second time, it doesn't shows the variables. > > > > I was wondering if by initializing an array it stats up during the whole > > session, and then the second time i require it, it conflicts... but I dont > > have a clue about what is wrong. > > > > please help > > > > vamp. > > Check wheter you have register_globals on or not (you can write a test.php > with the line echo ini_get('register_globals'); if it shows '1', > congratulations, your register globals is on). > > If that is the case, you are probably setting $Idiomas to a different value > on your script, and it is messing with your $_SESSION['Idiomas']. > > Regards, > > Rafael Cotta > http://cifradasweb.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php