Skip to content

Instantly share code, notes, and snippets.

@padraic
Created February 10, 2010 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save padraic/300324 to your computer and use it in GitHub Desktop.
Save padraic/300324 to your computer and use it in GitHub Desktop.
<?php
require_once 'Zend/Http/Client.php';
$bclient = new Zend_Http_Client(array('keepalive'=>true));
$bclient->setUri('http://bit.ly');
echo $bclient->request()->getBody();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment