Questions tagged as 'php'

1
answer

List of popular posts with facebook comments

I'm trying to make a 5-item list of the most commented posts from my blog, but with facebook comments. I found this code on google, but as you can see, it only captures the comments made on the WP platform itself and not from facebook. <...
asked by 12.02.2015 / 23:20
1
answer

How to upload using php without forms

I need to upload a file from the local server to another server. In this environment I compact the file on the local server and send the compressed file to the remote server. The remote server will have the rules validation specifications to kno...
asked by 16.02.2015 / 17:26
1
answer

Read phpMyAdmin column

I was able to separate some values from a column in a table in PhpMyAdmin through some tips and I did this: mysql_select_db($database_conexao, $conexao); if ($dep != "" and $sub != "") { $query_rsPesquisa = "SELECT * FROM 'produtos' WHER...
asked by 29.01.2015 / 19:43
1
answer

Upload photo and save the original photo and a cropped one?

Here he is saving only the modified one, I wanted to save the original and the modified one. <?php $page=" Upload de Imagens"; if (isset($_POST["cadastrar"])) { include_once 'classes/resize-class.php'; // Incluímos a classe $titu...
asked by 01.02.2015 / 15:04
1
answer

Begin transaction is blocking my entire database

I have a problem, I have a script that makes reading large files in XML. Before starting the insertion of these data, I do a begin transaction and end the commit , however throughout the process it may take up to 20 minutes my database u...
asked by 03.02.2015 / 20:10
1
answer

Random results in SQL queries without repeating (Infinite Scroll)

I have been having this problem for a long time and I can not resolve it. I have a page with infinite scroll that returns a few lines from the database, but the results most often repeat. I am using the following query whenever the scroll rea...
asked by 01.07.2014 / 16:13
2
answers

Printing in excel with php and jquery

I'm trying to print to excel a query presented in table with php and jquery in the <tbody> tag. However it did not work. He presented in excel a wrong result with all result HTML in a single cell. COULD YOU HELP ME? I found the s...
asked by 03.07.2014 / 19:53
1
answer

Problem sending e-mail in PHP

I need help on a form in PHP complex, because in addition to sending email to administrators, it also sends to the client. The email is in html and automatically creates a pdf through html2pdf . So it's working,...
asked by 25.06.2014 / 16:56
1
answer

How to put the * Bootstrap ('glyphicon-bootstrap') icons in the Yii framework menu

I'm starting a project at the company where I develop, and we're thank you for using the Yii Framework along with Bootstrap , but I'm not you can put the Bootstrap ( glyphicon-bootstrap ) icons in the menu, follow the code example:...
asked by 07.07.2014 / 15:18
1
answer

FullCalendar fetch data from the php database

I'm generating a calendar for a site, and I'm required to use the fullCalendar tool. The question is to get the events by php to my database. In js, the data is listed in the following demo.calendar.js file and contains the following: ;(func...
asked by 09.07.2014 / 13:32