Welcome to WebmasterWorld Guest from 54.159.30.26

Forum Moderators: coopster & jatar k

Store cookies value from Smarty official variable into PHP varaible

     
2:58 pm on Nov 21, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Oct 25, 2006
posts: 1058
votes: 1


I like to store cookies value from Smarty official variable into PHP varaible:

Cookies are detected using official function:
$smarty.cookies.Mycookiename
and like to store into PHP $myvariable

Just example:
$smarty->assign("myvariable",$smarty.cookies.Mycookiename);

How to manage this as it is wrong.
If I have form it will be assigned variable like: $smarty->assign("myemail", $_REQUEST['myemail']);