Re: [PHP] $_COOKIE and include() or require()

2002-12-23 Thread Luke Sneeringer
That worked perfectly! The problem is fixed. Thank you so much. Luke Chris Wesley wrote: On Mon, 23 Dec 2002, Luke Sneeringer wrote: That doesn't seem to work. This might be because my require tags also send variables (e.g. common.php?variable=1)--would this make a call to a non-PHP extentio

Re: [PHP] $_COOKIE and include() or require()

2002-12-23 Thread Jason Wong
On Monday 23 December 2002 15:19, Luke Sneeringer wrote: > I have a question regarding the use of the $_COOKIE autoglobal and > include() or require() tags. > > I have a script (index.php) which gets cookie variables. This works > fine, and the cookies are accessable through both $_COOKIE["cookiena

Re: [PHP] $_COOKIE and include() or require()

2002-12-23 Thread Chris Wesley
On Mon, 23 Dec 2002, Luke Sneeringer wrote: > That doesn't seem to work. This might be because my require tags also > send variables (e.g. common.php?variable=1)--would this make a call to > a non-PHP extention file fail? You've already demonstrated that you know included code inherits the parent

Re: [PHP] $_COOKIE and include() or require()

2002-12-23 Thread Luke Sneeringer
That doesn't seem to work. This might be because my require tags also send variables (e.g. common.php?variable=1)--would this make a call to a non-PHP extention file fail? What happens is that the calls seem to produce no output (but they don't fail). In other words, require() returns true, bu

Re: [PHP] $_COOKIE and include() or require()

2002-12-23 Thread Chris Wesley
On Mon, 23 Dec 2002, Luke Sneeringer wrote: > However, then in the script I have a require tag (essentially like > require('http://www.mydomain.com/common.php')) line. I call this line, > and within that file (same domain) the $_COOKIE[] array as well as > variables such as $cookiename are all bla

[PHP] $_COOKIE and include() or require()

2002-12-22 Thread Luke Sneeringer
I have a question regarding the use of the $_COOKIE autoglobal and include() or require() tags. I have a script (index.php) which gets cookie variables. This works fine, and the cookies are accessable through both $_COOKIE["cookiename"] and $cookiename. However, then in the script I have a requ

Re: [PHP] $_COOKIE

2002-07-05 Thread Scott Fletcher
On every web pages or just the 1st page for initalizing the session? FletchSOD "Philip Olson" <[EMAIL PROTECTED]> wrote in message Pine.BSF.4.10.10207051647410.68593-10@localhost">news:Pine.BSF.4.10.10207051647410.68593-10@localhost... For session id, use session_id() http://www.php.

Re: [PHP] $_COOKIE

2002-07-05 Thread Philip Olson
For session id, use session_id() http://www.php.net/session_id Regards, Philip Olson On Fri, 5 Jul 2002, Scott Fletcher wrote: > Not a problem! I noticed the "PHPSESSID" only showed up on $_COOKIE and > nothing else. I dont' want to use the $_COOKIE, so I may either assign it > to $_SES

Re: [PHP] $_COOKIE

2002-07-05 Thread Scott Fletcher
Not a problem! I noticed the "PHPSESSID" only showed up on $_COOKIE and nothing else. I dont' want to use the $_COOKIE, so I may either assign it to $_SESSION or $GLOBALS. FletchSOD "Alberto Serra" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Scott Fletche

Re: [PHP] $_COOKIE

2002-07-05 Thread Alberto Serra
Scott Fletcher wrote: > That is what I thought so! Thanks! > > To me, the $_COOKIE seem to get data from the browser in some way. Correct > me if I'm wrong. Something like a communication between cookie. > > Thanks, > FletchSOD ðÒÉ×ÅÔ! Yes, that's the way it works. Once you do a setcookie(

Re: [PHP] $_COOKIE

2002-07-05 Thread Scott Fletcher
That is what I thought so! Thanks! To me, the $_COOKIE seem to get data from the browser in some way. Correct me if I'm wrong. Something like a communication between cookie. Thanks, FletchSOD "Alberto Serra" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

Re: [PHP] $_COOKIE

2002-07-05 Thread Alberto Serra
Scott Fletcher wrote: > I have a question! Since the $_COOKIE is on the server side, not on the > client side. So, will the use of hte $_COOKIE be affected when the user's > browser disabled the cookie? I do not know how the $_COOKIE on the server > side work or get the information from. > > T