sabato 27 giugno 2015

Come estrarre un file tar con php

A partire dal Php 5.2.0, è disponibile la classe Phar, che permette di interagire con archivi Zip e Tar.
In questo post mostro un semplice snippet per estrarre un archivio Tar in una directory temporanea.

$phar = new PharData('nome-archivio.tar');
//Estraggo tutti i files posizionandoli in /tmp/
$phar->extractTo('/tmp/', null, true);

5 commenti:

jonah naks ha detto...

Thank you so much. It is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it .
hp printer customer care
hp printer customer service
hp printer customer support
hp printer technical support
hp printer tech support
hp printer customer care number
hp printer customer support number
hp printer customer service number
hp printer technical support number
hp printer tech support number
hp printer phone number
hp printer contact number
hp printer support number
hp printer support phone number
hp printer helpline number


jonah naks ha detto...

I appreciate your work you have given very interesting and useful information through this blog. Thanks a lot. Keep posting.
If you have any query related to hp printer please follow these given links-
Connect HP 2630 printer to Wi-Fi
connect iPad to HP Printer without Air Print
HP printer assistant not opening error in Windows
Install HP Wireless Printer on MacOS
reinstall HP Printer Drivers

Amelia Smith ha detto...

Nice post thanks for sharing with us.. Just Download AOL Gold software
download aol desktop gold
download aol gold
Install AOL Desktop Gold
Install AOL Gold
Download AOL Desktop Gold Software
AOL Gold Download Link
AOL Desktop Gold Download
AOL Desktop Gold Software
Reinstall AOL Desktop Gold
Update AOL Gold
install aol gold desktop
aol gold download
aol desktop gold download link
AOL Desktop Gold Login
AOL Gold Sign in
how to install aol gold desktop
download aol gold software
free aol gold download
aol gold login
aol desktop gold
aol gold desktop download

jeny miller ha detto...

mozilla firefox helpline number
mozilla firefox support number
mozilla firefox phone number
mozilla firefox contact number
mozilla firefox customer care number
mozilla firefox customer support number
mozilla firefox customer service number
mozilla firefox technical support number
mozilla firefox tech support number
mozilla firefox customer service
mozilla firefox customer care
mozilla firefox customer support
mozilla firefox technical support
mozilla firefox tech support
mozilla helpline number
mozilla support number

Sophia Johnson ha detto...

quickbooks helpline number
quickbooks support number
quickbooks contact number
quickbooks phone number