What i\'m trying to achieve is this:
1st- I want to query a page like google but without filling it\'s search filed manually 2nd- I want to get the result and save it to
setOptions(array('lastmodified' => filemtime('local.rss'))); $r->addQueryData(array('category' => 3)); try { $r->send(); if ($r->getResponseCode() == 200) { file_put_contents('local.rss', $r->getResponseBody()); } } catch (HttpException $ex) { echo $ex; } ?>
From the php manual...