Re: [PHP] Re: session vars

2006-03-23 Thread John Wells
U, is your top.php code being printed AT ALL? Because in the code you gave us, you're attempting to include topo.php. HTH, John On 3/21/06, João Cândido de Souza Neto [EMAIL PROTECTED] wrote: tedd wrote: Hi: I hate this. Ok guy, don't fight with me. hehehe Follow's all code of

[PHP] Re: session vars

2006-03-21 Thread João Cândido de Souza Neto
João Cândido de Souza Neto wrote: Hipeople. I've a system where i use session and all is working fine. But has something that don't work and i can't to find the cause. When a use the include function, the file included don't see the session vars. Anyone knows why it's happen?

RE: [PHP] Re: session vars

2006-03-21 Thread Shaunak Kashyap
, March 21, 2006 9:38 AM To: php-general@lists.php.net Subject: [PHP] Re: session vars João Cândido de Souza Neto wrote: Hipeople. I've a system where i use session and all is working fine. But has something that don't work and i can't to find the cause. When a use the include

RE: [PHP] Re: session vars

2006-03-21 Thread João Cândido de Souza Neto
Neto [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 9:38 AM To: php-general@lists.php.net Subject: [PHP] Re: session vars João Cândido de Souza Neto wrote: Hipeople. I've a system where i use session and all is working fine. But has something that don't work and i can't

Re: [PHP] Re: session vars

2006-03-21 Thread Chris Shiflett
João Cândido de Souza Neto wrote: I tried it yet, if a put a echo $_SESSION[root] before or after the include, it works fine, it doesn't work in the file top.php. Show us the code. What you're describing should not be possible. Chris -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: session vars

2006-03-21 Thread João Cândido de Souza Neto
Chris Shiflett wrote: João Cândido de Souza Neto wrote: I tried it yet, if a put a echo $_SESSION[root] before or after the include, it works fine, it doesn't work in the file top.php. Show us the code. What you're describing should not be possible. Chris Here's the original message:

Re: [PHP] Re: session vars

2006-03-21 Thread Chris Shiflett
João Cândido de Souza Neto wrote: Show us the code. ... Some codes ... That doesn't count. :-) You're describing a situation that I seriously doubt is reflected in your code. Reduce the problem to the simplest example you possibly can, and then show us the code. Chris -- PHP General

Re: [PHP] Re: session vars

2006-03-21 Thread João Cândido de Souza Neto
Chris Shiflett wrote: João Cândido de Souza Neto wrote: Show us the code. ... Some codes ... That doesn't count. :-) You're describing a situation that I seriously doubt is reflected in your code. Reduce the problem to the simplest example you possibly can, and then show us the

RE: [PHP] Re: session vars

2006-03-21 Thread Shaunak Kashyap
-Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 11:26 AM To: php-general@lists.php.net Subject: Re: [PHP] Re: session vars This code's exactly the one that produce the error. That is, in the line: a href=? echo

RE: [PHP] Re: session vars

2006-03-21 Thread João Cândido de Souza Neto
Shaunak Kashyap wrote: -Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 11:26 AM To: php-general@lists.php.net Subject: Re: [PHP] Re: session vars This code's exactly the one that produce the error. That is, in the line

RE: [PHP] Re: session vars

2006-03-21 Thread tedd
Hi: I hate this. Ok guy, don't fight with me. hehehe Follow's all code of files. Yeah ! Where's rodape.php ? If we're going to spend our time looking at your code, shouldn't you spend the time to provide all of it? tedd --

Re: [PHP] Re: session vars

2006-03-21 Thread John Nichel
João Cândido de Souza Neto wrote: Chris Shiflett wrote: João Cândido de Souza Neto wrote: Show us the code. ... Some codes ... That doesn't count. :-) You're describing a situation that I seriously doubt is reflected in your code. Reduce the problem to the simplest example you possibly

[PHP] Re: Session vars not echoing?

2003-11-20 Thread pete M
need to issue a session_start() at top of page Pete Jas wrote: Not sure why this is happening but I think it has something to do with an include statement... [Server environment] Apache/2.0.47 (Unix) DAV/2 PHP/4.3.3 register_globalsOnOn report_memleaksOnOn safe_modeOff

[PHP] Re: Session vars not echoing?

2003-11-20 Thread Jas
Yeah I did that, sorry I just didn't note it in the snippit.. and it is now working with the $_SESSION function, i just had to restart the browser to clear the cache after updating the code. jas Pete M wrote: need to issue a session_start() at top of page Pete Jas wrote: Not sure why this

[PHP] Re: Session vars vs. POST/GET vars?

2003-01-11 Thread Noel Wade
Nevermind, just found the $HTTP_SESSION_VARS array... Thanks anyways! Take care, --Noel Noel Wade [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, So I have a session variable; but with register_globals active on the server I'm hosted at (no way to

Re: [PHP] Re: Session vars vs. POST/GET vars?

2003-01-11 Thread Jason Wong
On Saturday 11 January 2003 18:39, Noel Wade wrote: Nevermind, just found the $HTTP_SESSION_VARS array... If you're using a relatively recent version of PHP, you should use $_SESSION. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design