Questions tagged as 'php'

1
answer

Angular in PHP page read an API generated in php

I'm talking about this example: <div ng-app="myApp" ng-controller="customersCtrl"> <table> <tr ng-repeat="x in names"> <td>{{ x.Name }}</td> <td>{{ x.Country }}</td> </tr> </table&...
asked by 07.07.2015 / 20:15
1
answer

leave / at the end of the url

I would like to hide the .php extension of the site from all pages and stick with the slash at the end example: www.meusite.com.br/pagina/ I would also like to hide pages that are like landing pages , which are like this: www.meu...
asked by 08.07.2015 / 00:51
1
answer

Download via FTP with JavaScript

I would like to know how I can be putting on my page the user's option to download via FTP. I do not want the user to enter the information for FTP access and also that he does not see the FTP data he is accessing to download. Is this possibl...
asked by 30.06.2015 / 21:23
2
answers

PECL / PHP PDO_OCI extension obsolete. How to proceed?

I need to install the pdo_oci PHP extension to work with Oracle database via PDO. However, I noticed that the extension available via PECL is deprecated and will no longer be maintained. As I understand this link (I do not know if I under...
asked by 27.06.2015 / 19:37
1
answer

Foreach and Mysql

Dear colleagues. I am bringing two questions from the Mysql bank, from which the user will register their questions. See: .... <input type="hidden" name="Pergunta[]" value="<?php echo $idPergunta; ?>"> Pergunta: <?php echo $j...
asked by 30.06.2015 / 17:56
1
answer

Error php permission when uploading [duplicate]

I'm trying to upload my files to the lampp server but I have not succeeded, what can be happening? Warning: move_uploaded_file(../uploads/1579387143.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /opt/lampp/h...
asked by 22.06.2015 / 19:16
1
answer

Decrease physical size when displaying image

I need a way to compress the size of an image I get from a third party, that is, I get the link with the path of an image and I have to show it on my site. The main problem is that these images are very large and need to load a thumbnail...
asked by 19.06.2015 / 18:55
1
answer

Delayed client side image rendering

I use images on a web page that are loaded from a field of type blob in Firebird . Images open in a modal, fully loaded, that is, without using thumbnails , and when the user clicks on one of these images, the image is resized to a larg...
asked by 25.06.2015 / 19:04
1
answer

What might be causing double requests to PHP?

I'm developing a system in Symfony2 and during the approval process the client caught an error in which the system alerts keep repeating. The code used is this: $objManager = $this->getDoctrine()->getManager(); $objRepositorio = $...
asked by 27.07.2015 / 22:56
1
answer

Form problem (GET method) and Friendly URL

I'm having a problem sending a form, as I'm using a schema that changes the pages as GET['page'] , and I used the friendly url to take all that code to leave only the name of the page, for example localhost?page=inicio , is now l...
asked by 30.07.2015 / 20:56