RE: [PHP] Variables don't pass... *sniff*
| From: | Jay Blanchard | Date: | Wed, 28 May 2003 14:31:11 +0000 |
| Subject: | RE: [PHP] Variables don't pass... *sniff* | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-149251@lists.php.net to get a copy of this message | ||
[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