Questions tagged as 'php'

1
answer

Print query in a PDF with HTML2PDF (jquery ajax)

I will try to explain myself as best I can. What I'm looking for is printing a table, which is the result of a query I get with jquery ajax, in a PDF file. The query is made from these data: The user chooses and when clicking on the que...
asked by 17.01.2018 / 18:07
1
answer

Send CSV to an API using POSTMAN

I am using Symfony 3 to create an API that receives a CSV file and reads it. This is my route: /** * Recive a file * * @Route("/get/file", name="get-file") * @Method("POST") * @param Request $request * @return Response */ public functi...
asked by 17.01.2018 / 13:51
0
answers

how to get a certificate installed on pc client with javascript and send it to the server to use it with php?

I need to obtain a certificate installed on the client PC with the browser (javascript) and send it to the server to sign a pdf document generated with a library such as TCPDF (php). Someone who knows about this so you can guide me please. The c...
asked by 10.01.2018 / 14:12
1
answer

Php mailer how to configure?

I'm starting to use the PHPMailer documentation but I do not know how to link it to my email, I just downloaded the most recent version of PHPmailer and my version of PHP in my ÌIS es la 5.6.31, mi código de PHP 'is t...
asked by 10.01.2018 / 01:25
1
answer

How do I get RAW XML from this script?

I am using this script that sends information to a server, and it responds with XML. The result is passed to another script using a variable. How do I get raw XML, without filtering it? function lafuncion($dato1,$dato2) { $this->con...
asked by 06.01.2018 / 19:49
0
answers

Xampp does not work for me [closed]

I know that this is not the place to ask this question, but I already went through all of them, find out everywhere and nothing. In Windows 7 I get the error 0xc000007b, which does not let Xampp connect Apache or MySQL, therefore what I am progr...
asked by 08.01.2018 / 18:26
2
answers

Insert Data to Firebase from php

Good colleagues I want to insert data from a small program in PHP to the Firebase Database, through Curl, I currently have this code $url = "https://direcciones-.firebaseio.com/hola.json"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url)...
asked by 04.01.2018 / 19:16
0
answers

Webapp in PHP works locally but in live server not [closed]

As the title says, I have a webapp in PHP (not made by me), it works properly mounted on a local server (in XAMPP), the problem is that when I upload it to the live server a section and other things leave to work or not show as they should, I al...
asked by 26.02.2018 / 08:54
1
answer

Lumen (Laravel) create a custom helper file

I have created a file in the path app/Helpers/helper.php where I want to include the helpers I need for my project in lumen, at the moment I have this code <?php namespace App\Helpers; /** * Generate a "random" alpha-numeric strin...
asked by 27.02.2018 / 12:31
1
answer

Change the value of a hidden embedded in the column of a table

I have a way in HTML and JavaScript . I need by code to assign to each line of a table, which have status 1 , a subaddress through a combo (resolved this part). The problem is that I need to duplicate any row using a button so that this s...
asked by 03.01.2018 / 01:17