Jump to content

Clientbag

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Everything posted by Clientbag

  1. First locate folder vendors, then in that folder create another folder named curl and in that folder create the file curl.php with your code. then in your controller do: App::import('Vendor','curl',array('file'=>'curl/curl.php')); $curl = new Curl; // creates instance of that class Now when you want to access functions from that class just do $curl->get_page(array("url"=>$url)); // from your code
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.