Advertisement
Guest User

curl-hosiplan

a guest
Apr 11th, 2012
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. $request = new \Curl\Request('http://applikacka');
  2. $request->setCookieFile( WWW_DIR . '/../temp/cookies.tmp');
  3. $response = $request->post(array(
  4. 'param' => $form->getValues()->json,
  5. ));
  6. print $response->getBody();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement