Jump to content

Warning: fopen(./temp/features.txt) [function.fopen]: failed to open stream: Per


RDavis1002

Recommended Posts

need help....

 

 
    ob_flush();
    flush();

    foreach($fileList as $file)
    {
        if(ereg("tar$", $file))
        {
            $tarfile = new Archive_Tar(LOCAL_WORKING_DIR . $file);
            $tarfile->extract(LOCAL_WORKING_DIR); //or die("Could not extract files from " . LOCAL_WORKING_DIR . $file);
            echo "Succesfully unacked " . $file . "<br>\n";
            ob_flush();
            flush();
        }
        else if(ereg("gz$", $file))
        {
            $handle = fopen(LOCAL_WORKING_DIR . substr($file, 0, -3), "w+");
            $lines = gzfile(LOCAL_WORKING_DIR . $file);
            foreach ($lines as $line) {
                fwrite($handle, $line);
            }
            fclose($handle);
            echo "Succesfully unacked " . $file . "<br>\n";
            ob_flush();
            flush();
        }
        
    }

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.