Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Rapporter un URL avec la classe ‘HTTP_Request’


{filelink=12642}

<?php
// Fichier 'Request.php' indispensable
require_once 'HTTP/Request.php';
$r = new HTTP_Request('http://localhost/home.php');
$r->sendRequest();
$page = $r->getResponseBody();
?>

No comments yet.

Leave a Comment