require on compressed files

From: Date: Wed, 28 Feb 2001 21:58:52 +0000
Subject: require on compressed files
Groups: php.general 
Request: Send a blank email to php-general+get-42089@lists.php.net to get a copy of this message
Hi all, I am trying to get the expected behavior of: require("filename.gz"); or require("filename.bz2"); to work properly. Beyond using gzopen, gzread, and gzwrite to do it using a temp file, is there any other way to include a compressed file with PHP code? I thought of using gzread and passing that to eval but it isn't pure PHP and uses <? and ?> respectively. Thanks in advance, Shane -- Shane Wegner: shane@cm.nu http://www.cm.nu/~shane/ PGP: 1024D/FFE3035D A0ED DAC4 77EC D674 5487 5B5C 4F89 9A4E FFE3 035D

« previous php.general (#42089) next »