Return to Snippet

Revision: 24223
at February 23, 2010 20:43 by SmpleJohn


Initial Code
/* SSL Management */
$useSSL = true;
	
include('../config/config.inc.php');
include('../init.php');
if ($cookie->isLogged()){
	$userid = intval($cookie->id_customer);
}

Initial URL

                                

Initial Description
Code to access Prestashop's cookies from outside of the system (on the same domain). The example is specifically for the userid.

Initial Title
Prestashop 1.2.5 Access cookies

Initial Tags

                                

Initial Language
PHP