hi, i was triying make a mod in a single.php file, that working if i pass de user_id for the URL, but i need extract the user_id reading a cookie... some body can help??
Sorry por mi ingles, me esforce un poco, saludos de chile
In phpnuke y get the
user making something like this:
<?
cookiedecode($user);
$username = $cookie[1];
echo "$username";
?>
*******************************
i answer my miself:
define('ROOT_PATH', './');
include(ROOT_PATH.'global.php');
require(ROOT_PATH.'includes/sessions.php');
echo "$user_info[user_id]";
very easy..