Re:Accessing Joomla variables (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Re:Accessing Joomla variables
|
mwotton (User)
Fresh Boarder
Posts: 2
|
|
Accessing Joomla variables 3 Months ago
|
Karma: 0
|
|
Hi,
I want to access Joomla! variables in the code that in included via DirectPHP.
Specifically, I would like to access the user information held in the global $my variable. However, there is obviously something I need to do, since I get this error:
Notice: Undefined variable: my in /clientdata/clients/xxx/www/wsads/adfunctions.inc.php on line 67
I am including an external file as you can see, and my guess is that the DirectPHP content is being processed before the user authentication has occurred or at least before the information has been pulled form the core DB tables.
How can I access the variables I need?
Thanks,
Micha
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
mwotton (User)
Fresh Boarder
Posts: 2
|
|
Re:Accessing Joomla variables 2 Months, 4 Weeks ago
|
Karma: 0
|
|
Can anyone help me with this? It'd really be great if I could access these variables.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Accessing Joomla variables 2 Months, 1 Week ago
|
Karma: 0
|
|
I'm in the same boat.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|