On Fri, Sep 12, 2008 at 7:41 PM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: > Could you not check one of the variables in the $_SERVER array to > determine if the script called by the browser is the current file? > > ---------- Forwarded message ---------- > To: clive <[EMAIL PROTECTED]> >> 2. included from another file
Don't forget #2. I just threw it out as a suggestion because the current requested file might not be intercept.php. If I were trying to do such a thing I'd probably go about it differently altogether depending on why I needed to know what was in the file. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php