Questions tagged as 'php'

1
answer

Mercado Pago, back_urls format

How about, thanks for your time, I'm trying to integrate a very basic shopping cart with MercadoPago. But I receive the following error: Fatal error: Uncaught exception 'MercadoPagoException' with message 'back_urls invalid. Wrong format' I...
asked by 04.10.2017 / 23:14
0
answers

Does not load the openssl extension PHP 7 WAMP SERVER

the openssl extension does not load, among other problems that cause me is that I can not access content in https with file_get_contents . I execute the following code and it gives me false in openssl and wraper. $w = st...
asked by 04.10.2017 / 17:21
0
answers

Increase the value of a column in a .csv file using php

I'm looking for some explanation or help on how to solve this problem: $s ='1245'; $f = fopen(__DIR__ .'/datos/saved.csv', 'r'); $result = false; while ($row = fgetcsv($f, 0, ',')) { if ($row[0] == $s) { $result = $row[2];...
asked by 05.10.2017 / 02:16
0
answers

New AFIP API in PHP

How to implement the new SOAP service of the API of AFIP in PHP ? This question is born since I know that many people have the same thing and I hope we will reach a solution. Until just over a week ago I had been using the api...
asked by 27.11.2017 / 18:38
0
answers

How to import an EXCEL to MYSQL using Codeigniter? Tutorial

I recently asked about this topic on this website, and since I managed to import the data correctly, and after almost a week searching the Internet, I decided that it would be good to publish a question about it, since the biggest part of inform...
asked by 18.09.2017 / 23:11
1
answer

Mercadopago Checkout Javascript Mobile

I have the implementation made for desktop and it works correctly in modal mode function openCheckout() { $MPC.openCheckout({ url: "{{mp_preference.response.sandbox_init_point}}", mode: "modal",...
asked by 18.09.2017 / 19:42
1
answer

PHP PDO query does not work edit

Hello I have a detail is that I have a page that shows me the data of a bd table then when I'm going to modify it opens a modal and loads me the data, until there all the problem comes when I update it I get the error:    Fatal error: Uncaugh...
asked by 20.09.2017 / 14:11
0
answers

How to print on a separate check from the printer?

I have to send a check with printed information, I currently generate the check in a PDF with DomPdf, the paper size I configure with this library and the text positions I do with CSS / HTML, but I must configure each printer with a Custom paper...
asked by 11.09.2017 / 23:42
1
answer

Relate tables with laravel

I want to relate two tables, and keep the two ids in another table to relate them, for example: I'm logged in with a user, and I create a product, how do I add the id of the user and the id of the product in an additional table if the product...
asked by 19.09.2017 / 08:36
1
answer

Increase columns in PHPExcel

I am using PHPExcel and I need to perform a For incrementing the column, For example: for ($i = 'J'; $i <= 'J' + $num; $i++) { $objPHPExcel->setActiveSheetIndex(0) ->setCellValue($i . '11', $cabecera[$j]); $...
asked by 11.09.2017 / 16:49