Questions tagged as 'php'

1
answer

How to import / export categories in Magento?

I'm trying to import products and categories from one store to another, but in magento there's only the option to export only the products and customers. Is there any way to do this?     
asked by 07.03.2014 / 19:26
3
answers

PHP session expires ahead of time

I'm having a problem at a session time in PHP with CodeIgniter. I was using the sessions in CI and with so many problems I decided to look for a solution to use native sessions with the CI and at first it has improved, but still it continues to...
asked by 25.02.2014 / 15:25
2
answers

How do I get the position of a user individually in a rank, if in the database I only have your score?

With the code below I can display all users, because I put DESC and variable $num and it increments the placement with $num++; . But what if I want to get the / rank from the guy who is logged in ($_SESSION) and n...
asked by 30.04.2014 / 18:24
1
answer

Readfile function dropping PHP session

I had a problem with file downlod, where the session was terminated when a lot of download occurred in a short time (less than 1 second), and it did not occur when the download was performed slower. ( This question can be followed here ) . do...
asked by 06.10.2016 / 17:00
1
answer

Why does a sort method not work correctly on LINUX servers? [closed]

I have a question, I have a function to sort a array that has names of people with accent (UTF-8). It works correctly on WINDOWS servers, but when I run the code to run LINUX servers, the accentation gets interrogated and does not order c...
asked by 12.08.2015 / 22:29
1
answer

Get data .Txt php inverted

I saved the users' logins, but when printing these on the screen they appear in order of insertion, but I wanted to present myself the data from the last one to the first one. The code I have to display and paginate the results is as follows:...
asked by 29.06.2015 / 16:53
1
answer

Send data to upload images through ajax

<script type="text/javascript"> $(function(){ $("#oformulario").submit(function(e){ e.preventDefault(); var nome = $("#nome").val(); var email = $("#email").val(); var obs = $("#obs").val();...
asked by 20.08.2014 / 23:54
1
answer

Wordpress browse by post

I have a pertinent question that I have been trying to solve at times. On my website I have 2 search modes customized and on different pages, however when creating the 3rd I see the results on the page but I can not use the search block. Someone...
asked by 24.02.2014 / 01:56
2
answers

Android with Web Service PHP [duplicate]

Does anyone have an example of what it takes to retrieve data from an external database without needing to use JDBC?     
asked by 12.12.2014 / 20:40
1
answer

How to use the class PDO in this situation

I am using the PDO class to connect the database but in this particular situation I do not know how to use the PDO because in the mysql_fetch parameter I need to put a variable and for what I researched with the class PDO it is not the same way....
asked by 25.11.2014 / 15:57