curl equivalent in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am trying to display the website content through a php code ( my own
websites; doesn't cause copy right issues ).

I use curl to display the page via the following simple code.

<?php
$curl = curl_init();
curl_setopt ($curl, CURLOPT_URL, "http://mytest.com";);
curl_exec ($curl);
curl_close ($curl);
?>

But on some of my servers, curl isn't enabled! Is there any equivalent code
to  achieve the same?

Thank you,

-- 
Regards....

Nibin.

http://TechsWare.in

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux