> I use the PHP virtual() function to call a CGI script, and that works
> fine. But I need to prevent the CGI from being executed directly, in
> case someone tries to access its URL.
> Since HTTP_REFERER is unreliable, I was wondering how others have
> solved this problem ...
move it out of the document tree if you don't want it executed via http, and
use system or exec or something instead of virtual
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]