- file_get_contents: documentation ( source)
- print_r: documentation ( source)
- preg_match_all: documentation ( source)
<?php
$file_string = file_get_contents("http://www.daraz.pk/women/clothing/tops/");
preg_match_all('/<img src="(.*)">(.*)<\/img>/i', $file_string, $links);
print_r($links);