Re: needs clearification
| From: | Gustavo Narea | Date: | Mon, 21 Nov 2005 20:27:35 +0000 |
| Subject: | Re: needs clearification | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-56734@lists.php.net to get a copy of this message | ||
chraso wrote:
hey guys how do i get a cookie value? i tried $_cookie['variable'] but it doesn't works i want it in a query i tried $_request it works but i need the cookie variable any suggestions?It doesn't work because, when It comes to variables, PHP is case-sensitive, thus $foo and $FOO are not the same variables. The right one is $_COOKIE. On the other hand, tokens such as "echo" are case-insensitive. I wouldn't use $_REQUEST... Take a look at the manual. By the way, this is the Spanish mailing list, if you're going to post in English, I'd suggest you to use the English one. People who don't speak English won't understand what we're talking in this thread and the goal of this list is to share PHP-related knowledge in Spanish. Cheers. -- Gustavo Narea. PHP Documentation - Spanish Translation Team. Valencia, Venezuela.