Tring to make a status update with PHP 4 with no libcurl but I keep
getting 403 access denied :(

$url = "http://MYACCOUNT:[EMAIL PROTECTED]:80/statuses/
update.xml";

$params = array('http' => array(
   'method' => 'POST',
   'status' => $msg
));

if ($optional_headers !== null) {
        $params['http']['header'] = $optional_headers;
}
$ctx = stream_context_create($params);
$fp = fopen($url, 'rb', false, $ctx);

$response = file_get_contents($fp);
}

Reply via email to