Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function initPop(){
- debugPop();
- sessao();
- check_login();
- forceHttps();
- $config = configPOP();
- $dados = http_build_query(array(
- 'key' => 'dmljdG9y',
- 'data' => $config
- ));
- $contexto = stream_context_create(array(
- 'http' => array(
- 'method' => 'POST',
- 'content' => $dados,
- 'header' => "Content-type: application/x-www-form-urlencoded\r\n"
- . "Content-Length: " . strlen($dados) . "\r\n",
- )
- ));
- $resposta = file_get_contents('https://www.vetor.tech/core/pop_grant.php', null, $contexto);
- $resposta = json_decode($resposta,true);
- if($resposta["enable"]!==true){
- die($resposta["pop_grant_msg"]);
- }
- return head(configPOP(),$_GET).body(construirPagina($_GET));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement