Created
July 26, 2010 13:27
-
-
Save fprochazka/490538 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace cURL; | |
use Nette; | |
require_once dirname(__FILE__) . "/CurlResponse.php"; | |
class cURL extends Nette\Object { | |
public function dance() | |
{ | |
return new CurlResponse(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace cURL; | |
use Nette; | |
class CurlResponse extends Nette\Object {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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