public function actionArt2()
 {
     // use original SWF classes
     $s = new SWFextractImages();
     $a = @file_get_contents('http://203.104.209.71/kcs/resources/swf/ships/hpfcwdqxgyvl.swf?VERSION=' . time());
     if ($a) {
         $s->doExtractImages($a);
     }
     unset($s);
 }
Example #2
0
 public function ensureCG($id, $filename)
 {
     if (!file_exists('images/' . $id . '.jpg')) {
         $s = new SWFextractImages();
         $a = @file_get_contents('http://203.104.209.71/kcs/resources/swf/ships/' . $filename . '.swf?VERSION=' . time());
         if ($a) {
             $s->doExtractImages($id, $a);
         }
         unset($s);
     }
 }