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

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 

Author: Evaders99PostPosted: Tue Dec 27, 2005 10:39 pm    Post subject:

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

Author: ethanaPostPosted: Wed Dec 28, 2005 6:06 am    Post subject:

Right on, thanks Evaders.



Nuke Cops -> Core Chargers

All times are GMT - 8 Hours

Page 1 of 1

Powered by phpBB © 2001,2002 phpBB Group
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, 340 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 Global Variables and Gneral Info

Nuke Cops -> Core Chargers

Author: ethana PostPosted: Tue Dec 27, 2005 7:34 pm    Post subject: Global Variables and Gneral Info

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.
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.064 Seconds - 135 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
added by Evaders - DO NOT REMOVE
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::