Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: php Undefined variable: _COOKIE |
|
Author |
|
alex.molchanov
Joined: 30 May 2017 Posts: 1 Location: Ukraine Kiev
|
Posted: Sat 03 Jun '17 19:40 Post subject: php Undefined variable: _COOKIE |
|
|
Hello
I faced an issue that i am not able to solve alone
(php Undefined variable: _COOKIE).
I think it has something to do with apache.
Stack :
system : Windows NT ALEX-PC 6.1 build 7601 (Windows 7 Ultimate Edition Service Pack 1) AMD64
apache: Apache 2.4.23 Handler MSVC14 (Visual C++ 2015)
php: 7.1.2
Here is a link to stackoverflow
https://stackoverflow.com/questions/44238452/php-undefined-variable-cookie
Here is a line where error occurred: foreach($_COOKIE as $name=>$value) ...
Thanks
Last edited by alex.molchanov on Mon 05 Jun '17 11:48; edited 1 time in total |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Mon 05 Jun '17 6:11 Post subject: |
|
|
Does your code contain _COOKIE or $_COOKIE? |
|
Back to top |
|
|
|
|
|
|