Jump to content

Php Modules?


lanmind

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...