Bug #17158 Updated: I don't find php_ldap.dll extension in the 4.2.0 distribution

From: Date: Sat, 11 May 2002 20:36:26 +0000
Subject: Bug #17158 Updated: I don't find php_ldap.dll extension in the 4.2.0 distribution
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7454@lists.php.net to get a copy of this message
ID: 17158 Updated by: jan@php.net -Summary: setcookie() -Reported By: jtjohnston@courrier.usherb.ca +Reported By: philippe.nonn@cgey.com -Status: Open +Status: Bogus Bug Type: Feature/Change Request -Operating System: n/a +Operating System: W2000 PHP Version: 4.2.0 New Comment: this is because JS has dircet access to the browser., whereas PHP has not. it is a limitation of HTTP in general and cookies in particular. so the docs are right. no bug -> bogus Previous Comments: ------------------------------------------------------------------------ [2002-05-11 16:30:26] jtjohnston@courrier.usherb.ca setcookie() states "cookies must be sent before any other headers are sent (this is a restriction of cookies, not PHP). http://www.php.net/manual/en/function.setcookie.php I would like to suggest this is a restriction of PHP, not cookies. I can send and read cookies right in the middle of my HTML when I use Javascript: http://www.collegeSherbrooke.qc.ca/languesmodernes/cookie.htm <script> setCookie("TestCookie","first time",expdate); var DisplayData = getCookie("TestCookie"); document.write(DisplayData); document.write("<br>"); setCookie("TestCookie","second time",expdate); var DisplayData = getCookie("TestCookie"); document.write(DisplayData); </script> When can we expect a feature change on setcookie() ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17158&edit=1

« previous php.bugs (#7454) next »