Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
shmk
Worker
Worker


Joined: Dec 21, 2004
Posts: 116

PostPosted: Fri Oct 21, 2005 7:13 am Reply with quote

Is there a list of global and reserved variables PHP-Nuke (and PHP) so I'm sure when make a new module to not overwrite someone ?
 
View user's profile Send private message
technocrat
Life Cycles Becoming CPU Cycles


Joined: Jul 07, 2005
Posts: 511

PostPosted: Fri Oct 21, 2005 9:27 am Reply with quote

Each version is different. Most of them are in the mainfile.php. Any variable that get set to something and is not inside of a function are it, for the most part.

Also in the config.php.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! / Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Oct 21, 2005 11:33 pm Reply with quote

Depending on what Patched files you are using, many of these variables are being replaced with constants to stop exactly your situation.
Only registered users can see links on this board! Get registered or login!

As technocrat said, there's still everything in config.php
Also $file, $mode, $op, $name are usually reserved in the system

I hope that helps!

_________________
- 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
shmk
PostPosted: Sat Oct 22, 2005 1:39 am Reply with quote

Thanks a lot Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

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 ©