faqts : Computers : Programming : Languages : PHP : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 11 people (64%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

What´s the equivalent to getcookie of perl in php??

Jul 20th, 2004 00:59
Jens Clasen, Alder Rus, Daniel Hernando,


All information in a cookie can be found in the autoglobal array 
$_COOKIE.
If you wish to have the content of "cookie_name" you simply type
$_COOKIE['cookie_name'].