Skip to content

Configurable proxy #31

@MVnComputers

Description

@MVnComputers

Hi, is it possible to make a configurable proxy? Our company policy will not allow that file_get_contents request.
Specifically, the file is ReCaptchaProvider.php, function makeRequest (), line 102.

Now I have to make a hard adjustment to:

$aContext = array(
	'http' => array(
		'proxy '=> 'proxyXYZ.de:8000',
		'request_fulluri' => true,
	),
);
$context = stream_context_create($aContext);

return @file_get_contents($this->buildUrl($params), false, $context);

Otherwise, the recaptcha always returns to me that I am a robot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions