C:\Users\Alex>mingw32-make.exe
"mingw32-make.exe" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
С:\Qt\Qt5.12.12\Tools\mingw730_64\bin
qDebug()<<CV_VERSION;
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../opencv/build/x64/vc16/lib/ -lopencv_world480
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../opencv/build/x64/vc16/lib/ -lopencv_world480d
INCLUDEPATH += $$PWD/../../opencv/build/include
DEPENDPATH += $$PWD/../../opencv/build/include
$bot=new Bot();
$bot->start()
public function start(){
$this->openLogpage();
}
public function openLogpage(){
......
curl_setopt($ch, CURLOPT_COOKIEFILE ,'logs/cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEJAR ,'logs/cookie.txt');
.......
$this->autorization();
}
public function autorization(){
..............
curl_setopt($ch, CURLOPT_COOKIEFILE ,'logs/cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEJAR ,'logs/cookie.txt');
.............
}
$bot=new Bot();
$bot->start()
public function start(){
$this->openLogpage();
}
public function openLogpage(){
......
curl_setopt($ch, CURLOPT_COOKIEFILE ,'logs/cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEJAR ,'logs/cookie.txt');
.......
$this->autorization();
}
public function autorization(){
..............
curl_setopt($ch, CURLOPT_COOKIEFILE ,'logs/cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEJAR ,'logs/cookie.txt');
.............
}
$hed=[
'Accept:*/*;q=0.5, text/javascript, application/javascript, application/ecmascript, application/x-ecmascript',
'Accept-Encoding:gzip, deflate, br',
'Accept-Language:',
'ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7',
'Connection:keep-alive',
'Content-Length:129',
'Content-Type:application/x-www-form-urlencoded; charset=UTF-8',
'Host:'.$host_url,
'Origin:'.$host_url,
'Referer:'.$auth_url,
'Sec-Ch-Ua:"Not.A/Brand";v="8", "Chromium";v="114", "Google Chrome";v="114"',
'Sec-Ch-Ua-Mobile:?0',
'Sec-Ch-Ua-Platform:"Windows"',
'Sec-Fetch-Dest:empty',
'Sec-Fetch-Mode:cors',
'Sec-Fetch-Site:same-origin',
'User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/114.0.0.0 Safari/537.36',
'X-Csrf-Token:'.$token,
'X-Requested-With:XMLHttpRequest',
];
$ch=curl_init();
curl_setopt($ch, CURLOPT_FRESH_CONNECT, TRUE);
curl_setopt($ch,CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch,CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch,CURLOPT_HEADER,true);
curl_setopt($ch, CURLOPT_HTTPHEADER,$hed);
curl_setopt($ch, CURLOPT_URL, $this->url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_COOKIEFILE ,'logs/cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEJAR ,'logs/cookie.txt');
curl_setopt($ch, CURLOPT_REFERER, $url_reffer);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
curl_setopt($ch,CURLINFO_HEADER_OUT,true);
curl_exec($ch);
curl_close($ch);