Questions tagged as 'php'

1
answer

value of option value is lost when updating

friends when I try to update the value of the select does not show me what I had previously registered in the select because the idea is that if you already register a value of the select when there is an update should show you the value you alr...
asked by 13.07.2017 / 12:21
1
answer

Get session username in any file?

I'm doing a small application where the user registers some data and I want the user to be registered in the registry but I can not get it. 1.- The user starts session (login.php) and I have a hidden form that sends the username to another PO...
asked by 13.07.2017 / 17:10
0
answers

web check loading files

Hello, I would like to know how to do the following, as well as web testing tools like tools.pingdom.com I would like to know how to "see" and know all the files that a web loads when calling it, for example with the tool that I have named befor...
asked by 06.12.2018 / 15:28
0
answers

Send a post to the autocomplete

Hi guys, I'm trying to send a variable called (call1) to auto-complete but I have not been able to help someone else. this is my select <?php session_start(); $parametro = addslashes($_GET['term']); $llamarcontra1 = $_POST['...
asked by 04.12.2018 / 12:39
1
answer

consecutive in a php function

Hello, I have a problem that I urgently need to solve, I hope you can help me. I have 2 related tables the ones in a call def_client clients are added and they have a field called no_portage that indicates a range of the client in the othe...
asked by 06.12.2018 / 14:51
1
answer

Problem in Select dates and amounts

Boys I have a problem that I have not been able to solve This is my query to the bd SELECT DATE_FORMAT( date, '%c' ) AS fecha, SUM( COALESCE( grand_total, 0 )) as total FROM sma_sales WHERE DATE_FORMAT(date, '%Y') = '2018' AND customer_id =...
asked by 04.12.2018 / 13:27
0
answers

problems to get a variable

I'm trying to fetch a variable that I get through GET in another php file before html in my index.php , that is from my index php through a link I bring a content to my index since my application is in modules and I am using friendly...
asked by 06.12.2018 / 06:35
0
answers

I am trying to migrate a project from slim v2 to nginx, previously this one in apache on linux

This is my configuration I market 404 error server { listen 80; listen [::]:80; server_name psd2.colsan.edu.mx; root /var/www/psd2.colsan.edu.mx/public; index index.php; try_files $uri /index...
asked by 27.11.2018 / 14:43
0
answers

phpmailer not working on ssl site

hello I have a problem with phpmailer, I recently implemented an ssl certificate on my site, I want to assume that it affects the write and read permissions, but I'm trying to create a folder with write permissions and send the mail but it does...
asked by 27.11.2018 / 09:46
0
answers

I open many connections in my API and stay open and I need to close each of those connections

<?php $mng = new MongoDB\Driver\Manager("mongodb://localhost:27017"); $condition = ['shape'=>['$nearSphere'=>[ '$geometry'=>[ 'type'=>'Point', 'coordinates'=>[-98.280735, 19.063866]],'$maxDistance...
asked by 27.11.2018 / 00:44