linuxMaestro
Instructor
How can I use Curl instead of fopen and fread in the following script?
<?php
$whmusername="lin";
$whmpassword="mae";
$url="
$resource=fopen($url,"r");
$output=fread($resource,500000);
echo "$output";
fclose($resource);
?>
<?php
$whmusername="lin";
$whmpassword="mae";
$url="
$resource=fopen($url,"r");
$output=fread($resource,500000);
echo "$output";
fclose($resource);
?>