you may find that your expiry of four hours may be less then the time difference 
between your server and your client. are the tims on the two boxes set different ? on 
another note, I wouldnt bother with cookies, sessions are easier and simpler. you can 
use sessions in php3 with phplib. on yet another note (yat) is why do you use php3? 
Ive seen a few people still using php3 vs php4. I coulndt see any reasn for staying. 
just alot of reasons to switch.


-- 

 Chris Lee
 [EMAIL PROTECTED]



"Louis Brooks" <[EMAIL PROTECTED]> wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Okay, I have tried every example in the PHP Essentials book and on the 
php.net site that I can find on setting cookies using php3. Is there a 
problem with Netscape 4.x and setting cookies or is there something I have 
missed in setting up setcookie()?

Here is the code I am using:

<?php
setcookie("testcookie", "testvalue", time()+14400, "/", ".callook.org");
?>
<html>
<head>

I do not get any errors, it just does not set a cookie. Any help would be 
greatly appreciated.

Thanks,

Louis


--
PHP General 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]

Reply via email to