Jump to content

[SOLVED] Struggling to a open .GZ file


iceblox

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.