Hi!
Alternatively include() could be extended to allow resources, so the above would turn infoif ($fp = @fopen($file, 'r', true)) { include($fp); fclose($fp); }
This would break security distinction between file ops and include ops, when URLs are allowed for open but not include.
-- Stanislav Malyshev, Zend Software Architect [email protected] http://www.zend.com/ (408)253-8829 MSN: [email protected] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
