Downloading a page from remote server

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

helpdesk

we are ready to serve

currently online

agents online 2 / 6

Platon Technologies

How can we help you?

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.

  • On the phone from 8:30 - 17:30
  • Sometimes even on weekends
  • Simple human approach
  • Complex problems solving
contact form

Give a chance to our online help-center. You can find there more than:

  • 6 categories
  • 59 manuals
  • 23 e-mail settings
  • 7 programming tips
go to counseling

Questions about our products or any specific request? Contact us.

Thanks for message

If necessary, we will contact you.

Send of message failed

Please contact us at helpdesk@platon.net.