LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   using gzip command with php (https://www.linuxquestions.org/questions/linux-general-1/using-gzip-command-with-php-264611/)

suresheva31 12-09-2004 04:34 PM

using gzip command with php
 
Does any here knows how to use the gzip -9 with php.

This is what I am doing, but it seems to be not working? Does any here knows how to do it?
$dat = `date +"%F-%R"`;

$zip = `gzip -9 /var/www/html/logs/$dat.log`;

Suresh

acid_kewpie 12-09-2004 05:49 PM

you might like to integrate gzip a little more effectively... http://rm.pp.ru/?1.phpgzip


All times are GMT -5. The time now is 03:28 AM.