Tell me, please, how to solve the problem. There is a page, how can I get links to the pictures I need from this page? Thank you in advance!
|
1 answer
Use the PHP Simple HTML DOM Parser library to parse HTML.
Images are drawn like this:
$html = file_get_html('http://angelscity.combats.com/inf.pl?1144788114'); // Find all images foreach($html->find('img') as $element) echo $element->src . '<br>';
- Thank you very much I will try - quaresma89
|
<img src="адрес расположения картинки" />
- zloctb