Back to top
Firstly I went into com_wrapper, wrapper.php and addedsession_start();as the first line.Then further down under the line: $url = $params->def( 'url', '' );I added:// declare globalsglobal $my;global $wid;global $wname;global $wusername;global $wemail;global $wusertype;$xid = $my->id;$xname = $my->name;$xusername=$my->username;$xemail = $my->email;$xusertype = $my->usertype;session_register("xid", "xname", "xusername", "xemail", "xusertype");and saved it .. then in my .php files that I have added via the wrapper I added:session_start();as the first line and then used the variables as required (ie, <? echo $xname; ?>)and session_destroy(); at the bottom of the page.
Copyleft: Tutto il materiale pubblicato o comunque presente all'interno del sito www.joomla.it può essere utilizzato, diffuso e modificato liberamente. Hosting fornito gratuitamente da Joomlahost.it Disegno web da kreatif multimedia srl