[snip]
Yup!  You could even add that php to the auto_prepend_file variable in
your php.ini or add this to your .htaccess file (assuming you are
running Apache and have overwrite turned on) and the prepend will happen
automagically on every php program:

php_value  auto_prepend_file  "/www/extract_post.php"

However, both of these "solutions" create the same security issue that
turning RegisterGlobals on took care of in the first place.  :)
[/snip]

But you could address any security issues in the "included" code and
exit the app as needed, no? I wouldn't go as far as using the
auto_prepend_file.

Jay

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to