Questions tagged as 'php'

1
answer

Add php file as if it did require_once using enqueue_script or similar function in Wordpress?

I want to create my own Widget which I want to appear under the rest of the original widgets of the original theme in the admin menu. I want to do it in the cleanest and least sloppy way possible so my intention is not to touch the original...
asked by 15.09.2017 / 18:56
0
answers

Send packets with bytes using the UDP protocol in PHP

I am building a tool that allows me to test the resistance of my home network against a small DDoS attack using the UDP protocol, using PHP. I found a Perl script that is working but I would like to translate to PHP, I tried something simil...
asked by 24.07.2017 / 19:31
1
answer

Error range dates php DateTime

I get the following error, I'm trying to do a range filter by dates, I'm using CodeIgniter 3x , I send the following dates by AJAX to PHP : $fecha1 = 21/07/2017; $fecha2 = 21/07/2017; In this way I separate the date from...
asked by 21.07.2017 / 19:54
1
answer

Notifications with android firebase

Good morning I have a problem. I would like you to help me as I am implementing push notifications with firebase in android the notification has the title body and an image I send from < strong> php my code is as follows: function.php...
asked by 21.07.2017 / 18:12
1
answer

Error executing query

It had not happened to me until I wanted to make a chat with php and ajax, I know that a chat is better to do it with other languages, but it does not demand the robustness to use the other languages. My query that I am trying to do is the fo...
asked by 22.07.2017 / 21:03
0
answers

Problem when submit submit [closed]

Good afternoon. I am trying to make a submit with POST to a URL "vista.html", but I get the error "Can not post 404 not found". However, when submitting with GET, there is no problem. The submit is like the one in this example link , but...
asked by 17.08.2017 / 22:27
0
answers

Micro Framework Lumen - Security Token

I have created an api rest in Lumen , I have already uploaded it to my hosting and everything works perfectly. The issue is that it has no security, I mean it does not have a "session" so to speak when they log in, I've been researching and I f...
asked by 18.08.2017 / 04:36
0
answers

Mark in a file, when you press a letter

I'm trying to make sure that when I press the letter S, the text file that I loaded will put an S at the end of the current line. That is, if I have pressed 5 times the S, the counter must be equal to 5, therefore it must be marked up to line 5...
asked by 11.07.2017 / 05:37
1
answer

I am keeping my files well in the ampps folder [closed]

Am I saving my php files in the www folder inside the ampps folder, is it well stored?     
asked by 10.07.2017 / 19:13
1
answer

Search in mysql of 4 tables

Good friends I hope you can help me, the problem is the following .. I have 4 tables in MYSQL , I want to search in each of them Table field1: id,numero Table field2: nombre, apellido Table field 3: id,condicion,identif...
asked by 10.09.2017 / 16:23