This is my functionhttp://www.ideone.com/slpPeIf i don't use function\[code\] preg_match_all("{http://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}[^\s\"\\\'\<&]*}ix", $html, $marches); $download = $marches[0];//var_dump(); $i = 0; for ($i; $i <= count($download); $i++) { echo "download|"; $links = $download[$i]; if (!eregi("avaxhome.ws|pixhost.info", $links)) { echo $links . "<br/>"; } }\[/code\]and return some link \[code\]download|\[/code\]http://www.filesonic.com/file/24394419/1851684883.rarhttp://depositfiles.com/files/g6wawevhaPlease help me fix it