For downloading a page from remote server, the simplest and most efficient way is to use the PEAR class HTTP_Request from the HTTP/Request.php package.
<?php
require_once 'HTTP/Request.php';
$url = 'http://platon.sk/';
$req =& new HTTP_Request($url);
if (PEAR::isError($req->sendRequest())) {
die('chyba pri stahovani stranky');
}
$content = $req->getResponseBody();
?>
For more options and functionality, please read documentation
We accept reports of problems or other inducements related to the use of our products and services.
helpdesk@platon.net +421 222 111 321
In case you need any help, contact us by e-mail or by phone.
Give a chance to our online help-center. You can find there more than:
Questions about our products or any specific request? Contact us.