#!/usr/bin/env php \(.+?)<\/a>/", $body, $list); return ($list[2]); } if (sizeof($argv) < 2){ echo "USAGE:". $argv[0] ." \n"; exit(0); } $wikiurl = $argv[1]; echo "Get from :".$wikiurl."\n"; $listurl = $wikiurl."?cmd=list"; $list = getList($listurl); foreach ($list as $key){ $url = $wikiurl . "?cmd=edit&page=". rawurlencode($key) ; $body = http_get($url); # preg_match_all("/style=\"display:none\"\>(.+?)\<\/textarea/smi", $body, $text); preg_match_all("/\