curl equivalent in PHP

From: Date: Fri, 02 Mar 2012 14:26:38 +0000
Subject: curl equivalent in PHP
Groups: php.general 
Request: Send a blank email to php-general+get-316835@lists.php.net to get a copy of this message
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

« previous php.general (#316835) next »