Get the contents of a file.
Get the parameter put into it, with no changes. If it detects that the parameter is naughty (i.e malicious, and probably from a hacker), it will log the hack-attack and output an error message.
This function is designed to be called on parameters that will be embedded in a path, and defines malicious as trying to reach a parent directory using '..'. All file paths in ocPortal should be absolute
This function is similar to filter_naughty, except it requires the parameter to be strictly alphanumeric. It is intended for use on text that will be put into an eval.
Get the file base for your installation of ocPortal. For a shared install only, this is different to the base-url.
Get the file base for your installation of ocPortal
Make an object of the given class
This function is a very important one when coding. It allows you to include a source code file (from root/sources/ or root/sources_custom/) through the proper channels.
You should remember this function, and not substitute anything else for it, as that will likely make your code unstable. It is key to source code modularity in ocPortal.
Require code, but without looking for sources_custom overrides
Documentation generated on Sun, 02 Jan 2011 23:15:39 +0000 by phpDocumentor 1.4.3