This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$ch = curl_init(); | |
curl_setopt_array($ch, array( | |
CURLOPT_URL => 'https://api.github.com/repos/moveissimonetti/webpdv/issues?milestone=47', | |
CURLOPT_PROXY => 'http://192.168.111.70:3128', | |
CURLOPT_USERNAME => 'viniciusss', | |
CURLOPT_USERPWD => '', | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_USERAGENT => 'Viniciusss asdoiajodai' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Simonetti\Integrador\Brigde; | |
use Simonetti\Integrador\Destino\Requisicao; | |
class Rovereti | |
{ | |
public function getVersion(): string; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Response | |
{ | |
protected $data; | |
protected $originalResponse; | |
} | |
class Client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include("../includes/global.php"); | |
require("../includes/funcoes.inc.php"); | |
try { | |
if (isset($_FILES['dne_zip'])) { | |
geraDebugOn(); | |
define('ATUALIZAR', 'UPD'); | |
define('APAGAR', 'DEL'); | |
define('INSERIR', 'INS'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<META http-equiv="refresh" content="1;URL=http://www.domínio"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function calculo_taxa_juros($numeroParcelas, $valorParcelas, $valorTotal, $fv = null, $tipo = null, $guess = null) { | |
print('$numeroParcelas: ' . $numeroParcelas) . PHP_EOL; | |
print('$valorParcelas: ' . $valorParcelas) . PHP_EOL; | |
print('$valorTotal: ' . $valorTotal) . PHP_EOL; | |
print('$fv: ' . $fv) . PHP_EOL; | |
print('$tipo: ' . $tipo) . PHP_EOL; | |
print('$guess: ' . $guess) . PHP_EOL; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT pc.id_pedido_compra, pc.storeno, | |
pc.ordno, pc.vendno, pc.data_faturamento, | |
pc.data_pedido ,pc.data_entrega , pc.amt, pc.icms, pc.icms_reduzido, | |
pc.id_situacao_pedido_compra, pc.id_usuario, pc.id_status, | |
spc.titulo, spc.descricao, u.nome_usuario, vend.name AS nome_fornecedor, | |
( | |
SELECT | |
SUM( | |
ROUND(pcp.quantidade - pcp.quantidadeRecebida) * vIPI + | |
ROUND(pcp.quantidade - pcp.quantidadeRecebida) * rnfp.seguro + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\EventListener; | |
use Symfony\Component\HttpKernel\Event\GetResponseEvent; | |
class RequestListener | |
{ | |
public function onKernelRequest(GetResponseEvent $event) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(isset($_REQUEST['conteudo'])) { | |
$notas = []; | |
$lista = explode(PHP_EOL, $_REQUEST['conteudo']); | |
$contador = 0; | |
foreach($lista as $nota) { |