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
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?
, 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
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
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
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:
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
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
-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
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
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
--
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
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
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
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
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
16 matches
Mail list logo