Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

web scraping in php

<?php

$curl = curl_init();

$url = "https://www.danmurphys.com.au/dm/home";
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$output = curl_exec($curl);

echo $output;

?>
Source by devcode.la #
 
PREVIOUS NEXT
Tagged: #web #scraping #php
ADD COMMENT
Topic
Name
5+3 =