iceblox Posted June 16, 2009 Share Posted June 16, 2009 Hi guys im trying to open a file which has the extension .txt.gz this is the code i have so far.. $lines = file("compress.gz://$url"); I have managed to get this to work if the file is a csv but i cant get it to work for gz im sure its just something simple im doing wrong! As usual lol Any help would be appreciated. Thanks, Phil Link to comment https://forums.phpfreaks.com/topic/162361-solved-struggling-to-a-open-gz-file/ Share on other sites More sharing options...
priti Posted June 16, 2009 Share Posted June 16, 2009 it is a compressed file .You may need to go thru http://us.php.net/manual/en/book.zlib.php url. hope it help Link to comment https://forums.phpfreaks.com/topic/162361-solved-struggling-to-a-open-gz-file/#findComment-857120 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.