Posts by Alisson • 35 points
5 posts
-
1
votes0
answers64
viewsQ: What is the best way to create a socket with multiple connections that will perform an action in another API
I am creating a webservice with PHP, to receive TCP connections, so I opened a socket that receives multiple connections. But when a device connects to the server I will have to search another third…
-
0
votes0
answers27
viewsQ: Jquery function performs operation when it receives date
Hello, I have a function in Jquery that receives a date parameter in the form Y-m-d, but when I receive this data it does a mathematical subtraction operation and returns the result. I took a look…
-
1
votes0
answers282
viewsQ: Ajax does not work on the server
I read some answers in the forum, but none managed to solve my problem, Ajax works in place, but when I go up it just doesn’t work, follow the code: jQuery('#formLogin').submit(function(){ var dados…
-
0
votes3
answers1299
viewsQ: How to check if the file is an Input type="file" image
I have an input type="file" that would suit the user to add a profile photo and would like to check if the file is an image before. I have already checked via PHP, but I would like to do via…
-
1
votes3
answers203
viewsQ: Problem to send PHP data to database
I’m starting with PHP and I’m having trouble sending to the database, unfortunately I can’t find the error, if anyone can help, grateful. The HTML is like this: <form method="post"…