ID: 11478
User Update by: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Unknown/Other Function
Operating system: freeBSD 4.2
PHP Version: 4.0.5
Description: setcookie with time problem

Let me clarify and you can tell if this is not a bug. PHP is suppossed to declare 
cookies based of the NS cookie standard. 

I have a situation where if I set a cookie as:

setcookie("test", "value");

It works

If I set it just like php says it is set (based on these standards):
int setcookie (string name [, string value [, int expire [, string path [, string 
domain [, int secure]]]]])

setcookie("test", "value", time()+15000, "/", "");

Then the cookie does not exsist. I have tested it off of Linux and it has been fine as 
the same format, same Apache server, same version of PHP. Am I way over stepping my 
boundries here or would you call that a bug?


Previous Comments:

[2001-06-13 23:00:50] [EMAIL PROTECTED]
This is not bug and this place is not the correct place
to ask support questions.


[2001-06-13 21:12:26] [EMAIL PROTECTED]
When sending a cookie and using the time to expire in it the cookie wil not show but 
PHP thinks it was delivered (from a logical statement). 
config line:   
./configure --enable-track-vars --with-mysql --with-apxs=/usr/local/apache/bin/apxs
Server setup Freebsd 4.2, mysql 3.23, Apache 1.14-i386 build_freeBSD, php 4.0.5


Full Bug description available at:

PHP Development Mailing List <>
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