PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
passing variables from one page to another (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 1
TOPIC: passing variables from one page to another


#800
del (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
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.

#801
nobeat (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
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.

#803
del (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
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.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. kksou.com. All Rights Reserved