Questions tagged as 'php'

0
answers

Fill a dropdown of JSN Uniform

I am creating a form with JSN Uniform in which I have a dropdown that must be filled with values from a database, I have dealt with several videos but I have not achieved results. How can I fill my dropdown of JSN umiform with data from...
asked by 18.04.2017 / 18:47
2
answers

HTML script and style tags are "embedded" in the web as inline elements despite being defined from the src attribute

Let's see if I explain myself well. I have the problem that the HTML script and style tags are "embedded" in the web as inline elements despite having defined them from the src attribute. The strange thing is that this happens only when I con...
asked by 19.04.2017 / 14:57
1
answer

Type blob column does not register with type "b"

When trying to enter a comment text in a blob type column, which in the anti-injection-sql encoding ( mysqli_stmt_bind_param ) has a "b", it does not register the text. ($sentencia = $enlace->prepare("INSERT INTO tabla (nombre, direcc...
asked by 18.04.2017 / 09:28
0
answers

Parsear m3u php

I need a help, I'm parsing a M3U file, I found this file on the internet and it did you fine, but apart from taking the " Title " and "
asked by 06.04.2017 / 17:34
2
answers

List of allowed links that the user input should contain

In my form, I would like the visitor to be able to enter in any field any URL that is test.com or test2.com (wildcard), for example test.com/loquesea/39292, like a wildcard. I have the following in PHP: $allowedsites = array( 'http://test.c...
asked by 05.04.2017 / 18:39
1
answer

Date 12/22/2017 12:00 AM to 2017-12-22 12:00:00

I am trying to update dates in MYSQL according to the data provided by a Datepicker form. (12/22/2017 12:00 AM) The function that inserts the data and modifies the format is the following: public function changeDateBegin(){ $da...
asked by 07.04.2017 / 11:52
1
answer

List of URLs allowed with wildcard in visitor input

In my form I would like the visitor to be able to enter in a field any URL that is test.com or test2.com (wildcard), for example test.com/loquesea. I have the following in PHP: $allowedsites = array( 'http://test.com/*', 'http://tes...
asked by 04.04.2017 / 21:02
1
answer

How to redefine a constructor in php?

my question is simple, how do I redefine the constructor of the parent class, with different behavior? What I want to do is inherit from the Exceptional class of php (that its constructor prints the exception on screen), and redefine that con...
asked by 05.04.2017 / 12:55
1
answer

problems with soap and php

I need to call a function in a wsdl , for which I am using __soapCall() but at the time of using it I get the following error:    " Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host in C: \ xampp \ htdo...
asked by 05.04.2017 / 13:09
1
answer

Error with json in jquery

On my page I make two calls to json from the same API but different resources: function buscaInvocador($nombre) { $.ajax({ url: "https://euw1.api.riotgames.com/lol/summoner/v3/summoners/by-name/$nombre?api_key=RGAPI-de016c14-78f2-4...
asked by 05.04.2017 / 16:10