ciao, potresti provare questo equivalente php , come CGI ovviamente...
file test.cgi
Byecodice:#! /usr/bin/env php <? print "Content-type: text/html\r\n\r\n"; if( $_SERVER['argc'] == 2 ): $agent = strToLower($_SERVER['HTTP_USER_AGENT']); if( preg_match("/google/i",$agent) ) : system('/usr/local/bin/swf2html ' . $_SERVER['argv'][1] ); endif; endif; ?>