-3

Is it possible to scrape content or data from dynamic web page? If it is possible please attach PHP code. Thanks in Advance.

1 Answers1

-1
<?php

$html = file_get_contents("http://yellowpages.sulekha.com/chennai/lakshmi-air-system-virugambakkam-chennai_contact-address");

preg_match_all( '/ (.*?)</p>/s', $html, $posts, PREG_SET_ORDER // formats data into an array of posts ); print_r($posts[0][1]); echo "

" . count($posts) . " posts found

";