Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP
Author Message
fade2gray
Regular
Regular



Joined: Mar 26, 2006
Posts: 87
Location: UK

PostPosted: Fri Jun 15, 2007 9:50 am Reply with quote

Regrading Only registered users can see links on this board! Get registered or login! - It seems that "(is_god($_COOKIE['admin'])" is not "true" immediately after initial login - can anyone suggest a reason for this?

Thanks.
 
View user's profile Send private message Visit poster's website
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Jun 15, 2007 6:13 pm Reply with quote

Hmm let's see..

admin.php calls mainfile.php first
Then it will check whether you're logging in and create the admin cookie
Then it will call adminMain() which will call graphicAdmin() which should process the links files and generate the menu.

So I'm thinking when setcookie is used, it may also have to define $_COOKIE['admin']
Thoughts?

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Jun 15, 2007 10:37 pm Reply with quote

See http://www.ravenphpscripts.com/postp102703.html#102703
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©