You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 342 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Global Variables and Gneral Info [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
ethana
Sergeant
Sergeant


Joined: Dec 26, 2005
Posts: 81


PostPosted: Tue Dec 27, 2005 7:34 pm Reply with quoteBack to top

Hello all,
starting my adventure as a nuke coder, ive been using it for some time and i do indeed have experience in IT...but i find the clear and slightly more detailed documenation lacking. Granted the How To has a ton of info, but its more like spots here and there. Im looking for either links or direct answers, here is one of the few things i want to know about:

1) Global Variables - What are the standard phpNuke global variables that we as coders have access too? For example, is there a global for username? Or do we need to execute a function? Is there that one file somewhere where these globals are set up (other than config.php)?

More questions will come...but if anyone has any other suggestions or links to great and more detailed (more technical and more complicated examples) documentation, id be much obliged.

Thank you all.
Find all posts by ethanaView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Tue Dec 27, 2005 10:39 pm Reply with quoteBack to top

There isn't really documentation for all of that
Some of the globals are used for cookies, some for security. We are trying to get away from global variables, deprecating them in favor of constants

Besides the ones in config.php, there's also
$user - the user cookie
$admin - the admin cookie
Some of the security related ones you can find here, along with what has replaced them:
http://evaders.swrebellion.com/modules.php?name=Index&readme=1&page=coding

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
ethana
Sergeant
Sergeant


Joined: Dec 26, 2005
Posts: 81


PostPosted: Wed Dec 28, 2005 6:06 am Reply with quoteBack to top

Right on, thanks Evaders.
Find all posts by ethanaView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.041 Seconds - 225 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::