passing variables from one page to another (1 viewing) (1) Guest
Favoured: 1
|
|
|
TOPIC: passing variables from one page to another
|
del (User)
Fresh Boarder
Posts: 2
|
|
passing variables from one page to another 3 Years, 8 Months ago
|
Karma: 0
|
|
Hi,
I have been trying to pass variables from one static page to another static page in joomla 1.0.13 using DirectPHP and although the code runs ok
when I try to pass variable with say this:
content/view/31/61/?ch=cont1&st=cont2
The destination page keeps saying:
You are not authorised to view this resource.
You need to login.
and if i login as superadmin i get:
You are not authorised to view this resource.
and all thats on the destination page is:
<?php
echo $_GET['ch']."<br />";
echo $_GET['st']."<br />";
?>
Any help appreciated....Thanks
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
nobeat (User)
Fresh Boarder
Posts: 2
|
|
Re:passing variables from one page to another 3 Years, 8 Months ago
|
Karma: 0
|
|
I see two option,
- you are not logged in into your joomla frontend an de the article requirs it
-you open the new page with another session id so te login info is lost
to see if directphp word remove all scrurity from the article
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
del (User)
Fresh Boarder
Posts: 2
|
|
Re:passing variables from one page to another 3 Years, 8 Months ago
|
Karma: 0
|
|
Hi,
Checked that and Access level is Public...tested through all three and still get:
You are not authorised to view this resource.
You need to login.
and if i login as superadmin i still get:
You are not authorised to view this resource.
I cannot find any other place for permissions....
As for opening with another session id the pges are opening in themself so I dont think thats the problem...
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|