php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32964 setcookie problem nothing happens
Submitted: 2005-05-06 16:23 UTC Modified: 2005-05-06 22:59 UTC
From: iason dot vandermeulen at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.3.10 OS: FreeBSD v 4.11
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: iason dot vandermeulen at gmail dot com
New email:
PHP Version: OS:

 

 [2005-05-06 16:23 UTC] iason dot vandermeulen at gmail dot com
Description:
------------
Nothing seems to work I included the e_all function no error report nothing. In the browser settings is set value to ask before cookie will be set nothing happens and nog cookie.

tryed to find information about this on php.net on forums, nobody seem to have the solution for this problem of mine.

I tryed to set a cookie with javascript that worked fine.
And i have no clew how to solf this problem. On my own machine this script works fine with php 4.3.4 and ISS

Reproduce code:
---------------
first tryed this
setcookie ("pass","test",time()+3600,"","",1);
then this
setcookie ("pass", "test",time()+3600,"/","www.myhost.nl");
and final
setcookie ("pass", "test",time()+3600,"/","www.myhost.nl",1);

Expected result:
----------------
A cookie with the name pass and the value test for 1 hour/

Actual result:
--------------
The actual result is nothing no error's or prompt screens.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-06 22:59 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.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Dec 01 04:00:01 2025 UTC