Posts by Felipe Lima Diniz • 19 points
6 posts
-
0
votes1
answer32
viewsQ: How to include php code within DELIMITER?
I need some help, I would like to include a code within DELIMETER, but I’m not succeeding, someone can help me or propose another alternative. The function below shows all the quantity I have in…
phpasked Felipe Lima Diniz 19 -
0
votes1
answer484
viewsQ: How do I read and store response data from an API?
I got the answer from API of CIELO below, now I would like to understand with do to read and store the values. If anyone can help me with what key information should I store in the database?…
-
0
votes3
answers588
viewsQ: How do I redirect the user to the address they are visiting after logging in?
How do I redirect the user to the page they were browsing after the user logged in? I’ve seen solutions using $_SERVER['HTTP_REFERER'];, but I think it’s not a good idea, could help me with some…
-
0
votes2
answers2535
viewsQ: Request in the Cielo API in PHP using Curl
I’m trying to make a REQUEST the way below, I’m not getting: public function subscribe(){ $json_url = 'https://apisandbox.cieloecommerce.cielo.com.br/1/sales/'; $json_string = json_encode(array(…
-
0
votes0
answers323
viewsQ: Integration with CIELO
I have a question about how to treat --data-binary, the header I know I can handle it that way: $data = [ 'USER' => $this->username, 'PWD' => $this->password, 'SIGNATURE' =>…
-
1
votes1
answer109
viewsQ: how it returns pata html array via ajax/php
i have the function below in functions.php files function get_ADRESS(){ if(isset($_POST['getcep']) and $_SERVER['REQUEST_METHOD'] == "POST"){ $cep = escape($_POST['cep']); //10 $cep =…