Questions tagged as 'php'

1
answer

Custom post url structure with tags and tag listing

Hello, I'm trying to reach the following url structure for post personalizado portifolio : website.com/portifolio - Displays all posts - OK website.com/portifolio/slug - Displays the portlet item with slug slug - OK webs...
asked by 17.11.2015 / 19:22
4
answers

Search name file uploaded by json

I'm using a tool to crop an image sent by the user. When the crop is done, the file is saved in the folder and sends the response by json_encode . ItturnsoutthatIwanttograbonthe"name_file" returned by json, and save it in DB when I'm s...
asked by 07.10.2015 / 11:22
1
answer

Loop overload with foreach use [closed]

Hello I'm having a serious problem at least and what the hosting company aqual this my site is claiming that my code below is overloading queries or doing several loops, and I do not know what else I can do. / p> Is there any way to unify or r...
asked by 13.11.2015 / 17:08
1
answer

Internationalization, L10n and I18N

According to w3 , with regard to L10n and I18N , I have separated the explanation below that will serve as a basis to illustrate my doubts . L10n [ source ]    Generally considered only as a synonym for translating a GUI or documen...
asked by 04.11.2014 / 21:28
2
answers

How to generate low memory PDF on server?

I'm passing a table from my DB to PDF and I'm using TCPDF . But first I have to move my table to HTML and then I can move to PDF, which leads to a lot of memory and I have few resources on the server (256M for PHP max ). How can I pass...
asked by 25.07.2014 / 12:30
1
answer

Refresh field in several columns

I have a list of categories and I would like to sort them all at once so I created a field of "sorting" where I can put the number of the order I want [1] and so by pressing for save [2] as the image: //Controller:administracao.phpfunctionupd...
asked by 24.01.2015 / 09:31
2
answers

Manipulate XML with PHP [closed]

Can anyone tell me how I can get just the name value in the code below. index page. <?php $curl = curl_init('http://localhost/server.php'); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $resultado = curl_exec($curl); curl_close($cu...
asked by 05.03.2015 / 23:39
1
answer

Comment form does not appear in topic

I'm creating a new WordPress theme and I can not seem to get the feedback form from the comments.php file. The other related elements (comments already saved, number of comments, etc.) appear normally, but the form itself does not appear...
asked by 28.11.2014 / 19:54
1
answer

Translation of MySQL code for PostgreSQL [closed]

I need to convert a MySQL page into PostgreSQL commands, but I have already reviewed the internet looking for similar commands and PostgreSQL syntax, and I did not succeed. Some commands do not exist for PostgreSQL and are declared together w...
asked by 17.11.2015 / 17:27
2
answers

Insert into multiple input fields in different tables [closed]

I have the fields of date, CNPJ, latitude, longitude, site, facebook, on the same screen, only they are 3 different tables, how do I give insert from them from the same button ?? I use to save information but not all fields are required....
asked by 20.09.2016 / 14:05