Questions tagged as 'php'

4
answers

Connect PHP with Java

I am making an application, I have a database in Hostinger already created and the PHP files also connected so that I can take the corresponding columns. My problem is that I do not know how to connect these PHP with Java . How do I make...
asked by 22.01.2017 / 01:19
1
answer

MercadoPago Applications does not return user credentials

Following the MercadoPago documentation ( link ) I get to the point where I need to obtain the user's credentials. Previously the application was created and the e-mail was sent to the person from whom we need authorization. At the time of...
asked by 26.01.2017 / 18:04
1
answer

Execution of command in linux from php

I have the following command that I want to execute in the shell of Linux since php but it does not work for me, I used exec , php_exec system . but nothing. 'iw dev $target station dump | grep Station | cut -f 2...
asked by 19.12.2016 / 18:03
2
answers

Export Excel file with PHP - Format error when opening file

When exporting an excel file with php, the file can not be opened because it sends me a format error. It should be noted that I am trying to open it with Excel 2013 This is the error:    EXCEL CAN NOT OPEN THIS FILE.       "The for...
asked by 05.12.2016 / 14:12
3
answers

Links with Iframes

Good, I need through iframes, show information from a blog, I built 3 iframes that are showing the latest news, The problem is that I had to do so, because the page is totally different to the blog, because the blog is of Wordpress, and I do not...
asked by 18.12.2016 / 18:22
1
answer

Send email PHPMailer SMTP with CSS styles

Hi, I'm trying to work with the PHPMailer library, which works correctly if I do not enter the SMTP method, if I add the SMTP method that my server allows to configure, it sends me this error message: Fatal error: Uncaught...
asked by 26.12.2016 / 23:54
1
answer

Update post meta on wordpress and woocommerce

I am creating an e-commerce based on tourism where on the payment page the purchased trip is shown along with the number of people who are going to travel. This amount can be changed on the same page and then after the change the traveler's data...
asked by 02.10.2016 / 23:10
1
answer

Upload files and folders in Moodle

I need to upload files and folders within a Moodle course, these files come from a zip. I have been searching and I have found how to upload files, I have tried it and I am able to upload files correctly in the database and in the file repositor...
asked by 08.09.2016 / 10:06
2
answers

The edges of the table are not printed in TCPDF

At the moment of executing a PDF report from tcpdf it does not present the lines of the table even though they are the same as the objects in which part I must change in order to be presented with the edges of the table. $pdf = new...
asked by 02.10.2016 / 03:16
1
answer

Problem with empty Ajax!

I have a form in which there is a textArea. This form is validated first by Ajax to check if the texArea text is large enough and after this, it is validated in the controller action for the rest of the data. Well, the first time I submit, th...
asked by 30.08.2016 / 15:33