RE: [PHP-DB] Cookies on a Macintosh

2001-01-21 Thread Noodles Grizzly

No luck with that I'm afraid.  The Mac IE still refuses to use the cookie.
Cookies are on, it will use cookies on other sites, just not on the one I've
created using PHP.  I've tried making other cookies to test it, but still no go.

There's no bugs in PHP3 with respect to making cookies are there?

I just don't understand why it will work in netscape on the mac, but not any
versions of IE...

Any other ideas?

Thanks very much,

Best Regards,
Bob Irwin
Domain & Server Admin
Planet Netcom

> -Original Message-
> From: Andrew Rush [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 20 January 2001 2:07 AM
> To: Noodles Grizzly
> Subject: Re: [PHP-DB] Cookies on a Macintosh
>
>
>
> On Thursday, January 18, 2001, at 06:39 PM, Noodles Grizzly wrote:
>
> > setcookie("randint", "$ran3", time()+9000);
>
> 
>
> > It sets the cookie, but refuses to use the variable contained
> within.  I can't
> > find any reference to it in the books I have, nor in the online manual.
>
> you aren't setting a domain in your setcookie().
>
> setcookie("randint", "$ran3", time()+9000, "/", "www.mydomain.com");
>
> have a great day,
> andy
>
> :: Andrew Rush :: Lead Systems Developer :: MaineToday.com ::
> **
> "Crippled but free, blind all the time, i was learning to see"
>
> - J. Garcia / R. Hunter
> **
>
> The  views expressed herein are not necessarily those of my employer,
> but they let me have them anyway.


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] Cookies on a Macintosh

2001-01-19 Thread Noodles Grizzly

G'day!

A1: $ran3 is a random number/letter combination I'm using to identify a user.
It sets that random value in the database when they log in using their
username/password.  All pages contained within check that number against the
database.  Not the most secure of methods, but I'm only using php3 which hasn't
got the security features of 4.  And it's definately better than using their
password in the cookie.  After they log out, the random value is changed. It's
enclosed in quotes because that's the way my PHP book does it :P

A2: Because I can see the cookie on the macintosh cookie list.  Which means it's
being set, but the format probably isn't right for IE.  I think Andrew's
(thanks!) suggestion might be the go though, I'll give that a try when I'm
working on it again.

Thanks all:)

Best Regards,
Bob Irwin
Domain & Server Admin
Planet Netcom

Best Regards,
Bob Irwin
Domain & Server Admin
Planet Netcom

> -Original Message-
> From: Jerry [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 20 January 2001 3:13 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-DB] Cookies on a Macintosh
>
>
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] ("Noodles Grizzly") wrote:
> > I'm using the setcookie function with the follwing.
> >
> > setcookie("randint", "$ran3", time()+9000);
> >
> > It sets the cookie, but refuses to use the variable contained within.
> >  I can't find any reference to it in the books I have, nor in the
> > online manual.
> >
> > Anyone know why this might be happening?
>
> What does "$ran3" contain, and why is it enclosed in quotes? (It
> shouldn't matter, but I'm interested.)
>
> Also, how do you know it sets the cookie if it refuses to use the
> variable? How does it refuse to use the variable in a manner that lets
> you know it set the cookie?
>
> Jerry
> --
> http://www.hoboes.com/jerry/
> "Give a man a fish and you feed him for a day. Teach him to fish, and you've
> depleted the lake."--It Isn't Murder If They're Yankees
> (http://www.hoboes.com/jerry/Murder/)
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Cookies on a Macintosh

2001-01-19 Thread Jerry

In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] ("Noodles Grizzly") wrote:
> I'm using the setcookie function with the follwing.
> 
> setcookie("randint", "$ran3", time()+9000);
> 
> It sets the cookie, but refuses to use the variable contained within. 
>  I can't find any reference to it in the books I have, nor in the 
> online manual.
> 
> Anyone know why this might be happening?

What does "$ran3" contain, and why is it enclosed in quotes? (It 
shouldn't matter, but I'm interested.)

Also, how do you know it sets the cookie if it refuses to use the 
variable? How does it refuse to use the variable in a manner that lets 
you know it set the cookie?

Jerry
-- 
http://www.hoboes.com/jerry/
"Give a man a fish and you feed him for a day. Teach him to fish, and you've
depleted the lake."--It Isn't Murder If They're Yankees
(http://www.hoboes.com/jerry/Murder/)

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]