RE: [PHP] Controlling Access

2003-08-26 Thread Javier Tacon
You can play with a $_SESSION var, .. Imagine that you have the file a.php with .. ?php // Your code session_start(); $_SESSION[lastFile] = $_SERVER[SCRIPT_FILENAME]; ? And you want b.php that can only be executed after a.php: ?php session_start(); if($_SESSION[lastFile]!=a.php)

Re: [PHP] Controlling Access

2003-08-26 Thread David Otton
On Tue, 26 Aug 2003 08:44:59 -0700, you wrote: I have an application that consists of some 30 php modules. Each one links to another, as you can imagine. How can I create a security mechanism that only allows the modules in my system to be called from one-another? I do nto want any of the