Questions tagged as 'php'

0
answers

"Intercept" incoming SMS from Android Studio app, Android 6.0 [closed]

I would like to know how I can intercept an SMS in Android 6.0 from my app, since it is a tracker service and receives the maps link from an SMS that we previously sent "Where" to the tracker and he responds, I am interested in giving it to the...
asked by 30.05.2017 / 15:19
1
answer

MySQL Query with a while and another query inside

I raise here a question that I have consulted in other places and nobody has been able to answer me. I'm a newbie in PHP and MySQL, and I'm doing my first steps. I just found a fairly frequent case, which is a query that leads to a while, within...
asked by 15.06.2017 / 15:11
1
answer

Get mp3 duration in php?

I want to get the duration of an mp3 and I'm using link but it does not work for me . I do not know what I'm doing wrong. Do I have to import something? <?php $mp3file = new MP3File("audio.mp3"); $duracion = $mp3file->getDuration...
asked by 24.12.2016 / 08:46
1
answer

Problem in variable connection undefined

The code is this: conn file -> Connection to the database: <?php class conn { //Atributos de la base de datos private $dbname; private $host; private $user; private $pass; private $port; //Métodos publi...
asked by 14.11.2018 / 16:57
1
answer

Help with a JOINS in 2 tables in MySQLi in PHP

I commented to them I have read several times the blog of link but I can not implement a JOINS in my project, what I have so far works perfectly but I'm doing 2 or 3 queries and the idea is to optimize the queries to my database for logical...
asked by 12.10.2018 / 18:24
3
answers

How to display an image stored in BLOB format in a MySQL database in PHP

I have an image field that is a BLOB type in my MySQL database, I collect the data by PDO, but at the time of viewing it, it does not show me anything, I searched the Internet and everywhere I put the same thing with src="data:image/jpeg;base...
asked by 20.02.2017 / 12:06
2
answers

Error to redirect the page with PHP [duplicated]

Mount my web application to a web server, locally everything works perfectly, requests among other things, I have a system of pages for registered and logged users, I manipulate them with sessions, verifications among other things, each page (...
asked by 04.03.2017 / 19:28
1
answer

CodeIgniter form that does not validate correctly

I am trying to make a validation that although it validates well but I find two more problems that are related. They are the following: 1. When I use the <?php echo set_value('') ?> for each field and when I return the errors, the f...
asked by 06.06.2016 / 01:16
1
answer

DrpZone.js I get server responded with 0 code and already modify apache

Greetings friends I'm using dropzone.js but when uploading files I get an error which says please help and modify many things and nothing    server responded with 0 code And I have already modified the php options     
asked by 23.05.2016 / 21:20
4
answers

Print One-dimensional array in input hidden

I have the variable $style = [1, 2, 1] ; in php and what I want is to send this Array as you see it here, in the value of a input hidden of HTML , to capture it in my controller and use it in other...
asked by 27.07.2016 / 17:06