php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21026 function bug: setcookie
Submitted: 2002-12-15 10:07 UTC Modified: 2003-01-02 18:50 UTC
From: lmxyd at 163 dot net Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.2.3 OS: win2000 server
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lmxyd at 163 dot net
New email:
PHP Version: OS:

 

 [2002-12-15 10:07 UTC] lmxyd at 163 dot net
i install php under win 2000 server op

when i use the function:setcookie

i find it expire and invalid

ie: setcookie("user", "test");

but when i add an expire time param, it is valid

ie: setcookie("user", "test", time()+3600)


my english is not good , cann't explain the problem clearly,
hope u can help me , thanks

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-15 10:12 UTC] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2003-01-02 18:50 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 28 11:00:03 2025 UTC