Date: 05/23/01
- Next message: jmt <email protected>: "[PHP-DEV] Bug #11064: ereg() doe's not accept the third argument as reported in doc"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #11059 Updated: PHP does not register GET variables $HTTP_GET_VARS is empty. POST works OK."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 10884
User Update by: mad <email protected>
Old-Status: Open
Status: Closed
Bug Type: Variables related
Operating system: HPUX 10.20
PHP Version: 4.0.5
Description: Cookies not set
Okay...
When we set a cookie in a shell script's cgi with echo "Set-Cookie: USER=$USER", we MUST replace it with echo "Set-Cookie: USER=$USER ; PATH=/"
Sorry for this false bug...
Bon...
Alors le truc c'est que quand on défini un cookie dans un cgi, on oublie souvent que l'on est dans /cgi-bin quand on essaie de récupérer le cookie dans un autre script....ajouter PATH=/ après chaque définition de cookie, et on pourra les reprendre d'office avec PHP
Je me suis bien arraché les cheveux mis à part ça :P
Désolé pour ce faux bug
@++
JC
Previous Comments:
---------------------------------------------------------------------------
[2001-05-23 00:15:24] mad <email protected>
It's a bug or not ???
---------------------------------------------------------------------------
[2001-05-15 14:48:33] mad <email protected>
Hellow,
Here's a problem with Cookies Management :
When I define several (eg. 3 ) cookies outside php (eg. in a cgi shell-script), the HTTP_COOKIE variable is set but not HTTP_COOKIE_VARS array in php.
Then when I define another Cookie with SetCookie with php, HTTP_COOKIE contain all Cookies, but HTTP_COOKIE_VARS contains only this Cookie.
An idea ?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10884
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: jmt <email protected>: "[PHP-DEV] Bug #11064: ereg() doe's not accept the third argument as reported in doc"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #11059 Updated: PHP does not register GET variables $HTTP_GET_VARS is empty. POST works OK."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

