/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<? $url = "oooff.com"; echo $curl_scraped_page; ?> <?php $regex = '/Page 1 of (.+?) results/'; echo $match[1]; ?>
URL: http://www.oooff.com/php-scripts/basic-curl-scraping-php/basic-scraping-with-curl.php