I'm trying to access an https site by passing the username and password into the code, however, the website is denying me access due to 'browser caching issue', can someone help please? here is the code:
$client = new Zend_Http_Client();
$client->setUri('https://www.example.com');
$client->setParameterPost(array(
'username' => 'username',
'password' => 'password'
));
$client->request(Zend_Http_Client::POST);
$response = $client->request();
echo $response->getBody();