* Thus wrote Chris Shiflett ([EMAIL PROTECTED]):
> --- Steve Buehler <[EMAIL PROTECTED]> wrote:
> > Something else I found out now. I think it was Cpt John W. Holmes
> > (not sure though) that said I couldn't have a cookie as an array
> > like this the following. So i am not sure if it is somethin
--- Steve Buehler <[EMAIL PROTECTED]> wrote:
> Something else I found out now. I think it was Cpt John W. Holmes
> (not sure though) that said I couldn't have a cookie as an array
> like this the following. So i am not sure if it is something that
> is going away or not.
> setcookie ("admin_access
--- Steve Buehler <[EMAIL PROTECTED]> wrote:
> Well, if I take off the "string domain" part, it will work just
> fine.
This is what I was trying to explain. The cookie wasn't being returned, because
the browser didn't think the hostname matched. By leaving it out, the browser
will use whatever it
Something else I found out now. I think it was Cpt John W. Holmes (not
sure though) that said I couldn't have a cookie as an array like this the
following. So i am not sure if it is something that is going away or not.
setcookie ("admin_access[host]", "$cookhost",0,"/","$cookhost");
setcookie (
h. Just found out what was wrong. These are the specs that php.net
says a setcookie function can have:
setcookie ( string name [, string value [, int expire [, string path [,
string domain [, int secure])
Well, if I take off the "string domain" part, it will work just fine. The
proble
--- Steve Buehler <[EMAIL PROTECTED]> wrote:
> $cookhost=$_SERVER["HTTP_HOST"];
> header("Set-Cookie: aa_host=$cookhost;");
> setcookie ("aa_host", "$cookhost",0,"/","$cookhost");
> setcookie ("aa_host", "localhost",0,"/","localhost");
> setcookie ('aa_host', 'localhost',0,'/','localhost');
...
> I
On Jul 31, 2003, "Steve Buehler" claimed that:
|I still can't figure something out. I am using WinXP/Apache 1.3.24/PHP
|4.2.3 on my laptop and my cookies still don't work like they
|should. Hopefully someone can explain to me why.
|
|
|I can set the cookie with the "header" line with no problem,
Hi,
Friday, August 1, 2003, 8:53:51 AM, you wrote:
SB> I still can't figure something out. I am using WinXP/Apache 1.3.24/PHP
SB> 4.2.3 on my laptop and my cookies still don't work like they
SB> should. Hopefully someone can explain to me why.
SB> $cookhost=$_SERVER["HTTP_HOST"];
SB> header("
8 matches
Mail list logo