PHP code example of lizus / php-curl
1. Go to this page and download the library: Download lizus/php-curl library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lizus / php-curl example snippets
define('PHPCURL_UA', 'your ua');
define('PHPCURL_COOKIE', 'your cookie');
use \Lizus\PHPCurl\PHPCurl;
$curl=new PHPCurl();
$data=$curl->get('some url');
var_dump($data);