使用程式碼:
<?php $a="http://i249.photobucket.com/albums/gg217/joink1015/2c5d92c1.gif"; $b="http://i249.photobucket.com/albums/gg217/joink1015/03.gif"; $c="http://i249.photobucket.com/albums/gg217/joink1015/02.gif"; $d="http://i249.photobucket.com/albums/gg217/joink1015/333.gif"; $e="http://i249.photobucket.com/albums/gg217/joink1015/g01.gif"; $total=array($a,$b,$c,$d,$e); $ra=count($total); mt_srand((float)microtime()*1000000); $num=mt_rand(0,$ra-1); ?>
之後筆記本存檔存成 “xxxx.php”(xxxx部分為英文小寫、數字命名),即可。
上傳的伺服器必須支援PHP網頁技術。