public function setAsCompareCG($type, $id, $filename) { $s = new SWFextractImages(); $a = @file_get_contents('http://203.104.209.71/kcs/resources/swf/ships/' . $filename . '.swf?VERSION=' . time()); if ($a) { $s->extractAsCompareCG($type, $id, $a); } unset($s); }