okei ya di un paso gracias andres...
Código PHP:
Ver original<?php
function get_links($url) {
// Create a new DOM Document to hold our webpage structure
$xml = new DOMDocument();
// Load the url's contents into the DOM
$xml->loadHTMLFile($url);
// Empty array to hold all links to return
//Loop through each <a> tag in the dom and add it to the link array
foreach($xml->getElementsByTagName('img') as $link) {
$links[] = array('url' => $link->getAttribute('src')); }
//Return the links
return $links;
}
$distro = get_links("http://cinemex.com/cines/83");
?>
ahora con esto extraigo todas las imagenes del sitio... pero quiero filtrar la informacion, solo quiero que me de las que comiencen con
http://cache-cmx.netmx.mx/image/muestras/ esta ruta.. como lo puedo hacer