Skip to content

Instantly share code, notes, and snippets.

@fprochazka
Created July 26, 2010 13:27
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 fprochazka/490538 to your computer and use it in GitHub Desktop.
Save fprochazka/490538 to your computer and use it in GitHub Desktop.
<?php
namespace cURL;
use Nette;
require_once dirname(__FILE__) . "/CurlResponse.php";
class cURL extends Nette\Object {
public function dance()
{
return new CurlResponse();
}
}
<?php
namespace cURL;
use Nette;
class CurlResponse extends Nette\Object {}
<?php
require_once dirname(__FILE__) . '/Nette/loader.php';
require_once dirname(__FILE__) . '/cURL-wrapper/Curl.php';
use cURL\cURL;
$test = new cURL("http://curl.kdyby.org/prevodnik.asm.zdrojak");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment