Add extra headers to the request before sending
Parameters
$out
stringrequired- HTTP header string
Source
public function fsockopen_header(&$out) {
$out .= sprintf("Authorization: Basic %s\r\n", base64_encode($this->getAuthString()));
}
Add extra headers to the request before sending
$out
stringrequiredpublic function fsockopen_header(&$out) {
$out .= sprintf("Authorization: Basic %s\r\n", base64_encode($this->getAuthString()));
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.