HTTP_Client::setDefaultHeader() | HTTP_Client::setRequestParameter() |
HTTP_Client | |
PEAR Manual | |
require_once 'HTTP/Client.php'; |
void HTTP_Client::setMaxRedirects (
int $value
)
Setting this value to 0 disables redirect processing. If it is not 0 and the number of redirects after a request is bigger than this number, then an error will be raised.
Max number of redirects to process
throws no exceptions thrown
This function can not be called statically.
HTTP_Client::setDefaultHeader() | HTTP_Client::setRequestParameter() |
HTTP_Client | |
PEAR Manual | |