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!

  • Check out the HTML code. <img src="адрес расположения картинки" /> - zloctb
  • That she, I have hundreds of players in the database need to make, I will not look at each html markup and look for links! It would be just that everything would not ask for advice on the forum) - quaresma89

1 answer 1

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