Jump to content

Php Modules?


lanmind
 Share

Recommended Posts

Hello everybody,I'm having a hard time finding out what a PHP module is. Right now I'm working on security. In this tutorial under the "Data Filtering > The Include Method" header:http://phpsec.org/projects/guide/1.html#1.4They use a file named "/process.inc" to handle security. They are calling this file a module. So in this case a module is simply a file that is included? Are modules files on the same server as a script?

Link to comment
Share on other sites

In this case, yes, the "module" is just an included script. Usually, however, this script defines functions, classes, constants, or other code that can then be used, rather than containing the actual program logic.All included PHP files have to be on the same server as the calling script, for security reasons.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...