Re: session & languages array.
| From: | Elliot J. Balanza | Date: | Mon, 29 Mar 2004 23:43:51 +0000 |
| Subject: | Re: session & languages array. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181745@lists.php.net to get a copy of this message | ||
Go to figure, what i was lackng of was the parenthesis on the second
include...
thanks to everyone that tried to help.
vamp
"Elliot J. Balanza" <webmaster@mbtradingco.com> escribió en el mensaje
news:20040329183029.40306.qmail@pb1.pair.com...
> 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.