Web development, scripts, source code and IT stuff
Extract images from HTML
Small script to extract the images from a text or HTML.
$html=file_get_contents("http://neo22s.com"); $imgsrc_regex = '!http://.+\.(?:jpe?g|gif|png)!Ui'; preg_match($imgsrc_regex, $html, $matches); print_r ($matches);