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 blank.
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,
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's
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[cookiename]
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
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
6 matches
Mail list logo