Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/php
<?php
/*
The problem is that the controller is on the same subnet of the pc where I launch the script.
So, I'd like to do the same thing bypassing the proxy.
I tried to do something like it, but it doesn't works!
*/
//TRY
#!/usr/bin/php
<?php
$proxy_login='user:psw';
$proxy_ip='000.000.000.000';
$proxy_port=8080;
$controller_login='user:psw';
<?php
// /app/Plugin/Usermgmt/Controller/ServicesController.php
/*
This file is part of UserMgmt.
Author: Chetan Varshney (http://ektasoftwares.com)
UserMgmt is free software: you can redistribute it and/or modify