Posts by Luiz Augusto Neto • 383 points
18 posts
-
0
votes0
answers1031
viewsQ: How to create a web-proxy with Curl + PHP
I need to create an application that can compare some information contained on external sites and I need to do this in PHP, but I am barred by the difference of domains. In proxys in I can access…
-
0
votes0
answers332
viewsQ: Error returning page with Curl + PHP
I’m using the cUrl + PHP to open an external site, but when I try to do this it even loads normal but does not show the content I am in need of. No console of Chrome this error appears below and I…
-
2
votes2
answers48
viewsA: Problems with 'onsubmit' in 'setTimeout' form and function
I made a few simple adjustments to see if that’s what you need. Obs.: When I was testing I needed to remove the margin-top:-20px For I did not appear, I believe that it is so for you due its layout.…
-
1
votes1
answer167
viewsA: Error with socket
[I resolved] the question as follows: I installed and configured the library http://socketo.me
-
0
votes1
answer167
viewsQ: Error with socket
I have a system that uses php web socket for chat communication and real-time notification. It works, but usually gives spikes and the server time in time drops the service. I’m going to post my…
-
0
votes2
answers79
viewsA: Problem of website formatting
I rewrote some of your code, make sure it’s okay for you. CSS @font-face{ font-family: 'IndieFlower'; src: url("../fonts/IndieFlower.ttf"); font-size: 1em; } header { width: 100%; height: 130px;…
-
0
votes2
answers1692
viewsA: How to pass the `id` of a post via``by ultilizing AJAX?
I know it’s been a while, but as some people still use this question as a basis, I decided to refine it by following what @Sergio did. <a class="editarDespesa" href="#" data-id="<?php echo…
-
1
votes1
answer937
viewsA: Crontab does not execute script
I concluded the question as follows:: teste=`ps aux | grep web_socket | grep -v grep`; if [ "$teste" ]; then echo "Socket ON" else echo "Socket OFF" killall /usr/local/bin/php…
-
0
votes1
answer937
viewsQ: Crontab does not execute script
I’m trying to run a script by crontab of centos, I’m doing so: crontab -e then put: */1 * * * * root /home/websites/public_html/admin/functions/open.sh Obs: Before doing this, add permissions to the…
-
3
votes1
answer117
viewsQ: Socket PHP keeps falling
I googled and found ways to work with the socket. Then I started the service in my VPS. At first everything was working ok. However, now, instantly, Socket drops, making me need to access ssh every…
-
1
votes1
answer51
viewsQ: Load webView after clicking allow on SWIFT 3
I have a webView that captures the device token using the firebase library and then sends it to my url via get. Until ai td right, I was able to get the token, and I can send it to the url and in…
-
2
votes1
answer40
viewsQ: Receive code from input
How do I treat input text as a string even if they are html tags? Ex: if I type <b>texto</b> in an untreated input field it appears like this text, but I want it written anyway:…
-
2
votes1
answer59
viewsA: Executing action on a non-clicked ID
The error is in the repetition of ID, only one should be used ID for each element, although not giving an immediate error, the error occurs in the execution of the actions, in case the javascript ta…
-
1
votes2
answers2898
viewsA: Input the variable
As I understand it, you can do so: With javascript <button onclick="enviar()">Confirmar</button> <script type="text/javascript"> function enviar(){ var valor =…
-
2
votes1
answer394
viewsA: Sending Email with PHP
Try to test like this: <?php $nome = $_POST['nome']; $email = $_POST['email']; $assunto = $_POST['assunto']; $msg = $_POST['mensagem']; $to = "[email protected]";…
-
2
votes2
answers765
viewsA: Hiding entire column with CSS at a specific resolution
From what I understand in your quote, it would be something related to this? table tr td { border: 1px solid #000 } .some { display: none } <table width="100%"> <tr> <td>Coluna…
cssanswered Luiz Augusto Neto 383 -
2
votes0
answers163
viewsQ: Socket + SSL does not work PHP
Good morning, I have a system that uses a chat created by me and your communication by socket, all in php. The point is, I asked hostgator install the SSL in the domain, it has been installed and…
-
4
votes1
answer2486
viewsA: How to open a connection via socket?
Good morning, I don’t know if you have already got your solution, but I can help with a solution that works on some of my systems. Server side php server. <?php $host = '127.0.0.1'; $port =…