Posts by Xiro Nakamura • 563 points
27 posts
-
1
votes1
answer335
viewsQ: Redirect with Curl
I’m trying to log in to a Curl account but it doesn’t go to the final page. Site map: form page. page that receives the post (Curl is stopped here). 200 OK restricted page(Curl does not arrive…
-
0
votes1
answer233
viewsQ: ERROR = Warning: Domdocument::loadHTML(): Empty string supplied as input
Good morning, I’m making the following mistake: Warning: Domdocument::loadHTML(): Empty string supplied as input. This error occurs on my free server, the strange thing is that locally everything…
-
1
votes1
answer270
viewsQ: Accent problem when generating txt in php
I am using the code below to generate a txt file but is generating a strange code. <?php header("Content-Type: text/html; charset=UTF-8",true); $fp = fopen("bloco.txt", "w"); $eu = 'é';…
-
0
votes0
answers92
viewsQ: Post(Xmlhttprequest) javascript does not work
I am developing an extension for Chrome, but the post part is not working. The information is not enough. will the problem be the extension. chrome.extension.onMessage.addListener(function(request,…
-
1
votes0
answers106
viewsQ: Extension problem for Google Chrome
Good afternoon, My goal is to make an extension to monitor price, but the code is not working. It was to generate a txt file. also wanted to know how I do to display information in the popup window.…
-
-1
votes1
answer129
viewsQ: Access cookie saved in browser
Personal as I do to access a browser-saved cookie? Can be by the api of mozzarella or by the api of Chrome…
-
1
votes1
answer68
viewsQ: Change javascript/php function from form to div
How do I change the function below? I want to display the time in a div. <HTML> <HEAD> <TITLE>cronometro</TITLE> <script language="JavaScript"> <!-- function…
-
0
votes1
answer33
viewsQ: How to show the seconds running in the date function
Good morning guys, how do I show the seconds running in the function below? can be some function in jQuery to animate php. date_default_timezone_set('America/sao_paulo'); //CRIA UMA VARIAVEL E…
-
0
votes2
answers279
viewsA: How to remove null value from a foreach or array
In my application the friend example worked without the keys. I changed the if too. $valor = dados_aluno($mysqli); foreach($valor as $resultado) { $nome_aluno = $resultado[1]; $nota = $resultado[2];…
-
0
votes2
answers279
viewsQ: How to remove null value from a foreach or array
I am making a query in a table that has a blank value(student:note). On one page I do the function with select and play the array on a Return to call on another page, but I can’t delete the blank…
-
0
votes1
answer168
viewsQ: Problem with Domdocument Openssl
I’m trying to get information from a website using DOMDocument but you’re making a mistake. DOMDocument::loadHTMLFile(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL…
-
1
votes0
answers124
viewsQ: problem with cookie in Curl
I am developing a login with Curl and I am making two requests, the first one makes the post to the action page of the form and generates a txt file with the cookie, soon after I make a request…
-
2
votes2
answers305
viewsQ: Button conflict when sending form with jquery
I’m having a problem sending a jQuery form, Submit was only to be done by one button but I have two in the form, and Submit is done by both. how to solve this problem?? <script…
-
1
votes1
answer10784
viewsQ: Decimal in field number (html).
How to put decimal (1.0 and 1.10) in step="0.010" of a type=number field? I tried to do but always zeros stay out, it is not possible to make a height 1.60 for example, the result is always 1,6.…
-
0
votes1
answer80
viewsQ: replace hyphen with underline htaccess
How to replace the hyphen next to the number by underline in this URL(htaccess). www.site.com.br/post/77-eu_tu_eles
-
0
votes1
answer86
viewsQ: Error in imap_qprint
Does anyone know why you made a mistake when you use imap_qprint. $body = imap_qprint(imap_body($mailbox,$i)); Notice: Unknown: Invalid quoted-printable Sequence: ="UTF-8" Content-Transfer-Encoding:…
-
1
votes0
answers325
viewsQ: free server for testing(php, mysql)
Maybe this is not the focus of the community, but someone knows of a free server to test php and mysql?
-
3
votes2
answers329
viewsQ: Group table data with INNER JOIN
I want to create polls on my website but I have a problem relating two tables. Questions are repeating. Table pergunta id_question = 1: what do you think of the Samsung S8? id_question = 2: what do…
-
2
votes1
answer134
viewsQ: What is the best way to send action(form) or jquery Submit data?
Is there any standard for sending form data today? Use jquery and delete action(form) or validate with jquery and send the data using action(form).
-
-1
votes2
answers434
viewsQ: Pass the value of a Function post to another Function?
$(function(){ $("#for").submit(function() { var situa = null; $.post("url", {dado: "campo"}, function(val) { if(val == 1){ situa = 'você não foi selecionado'; }else{ situa = 'você foi selecionado';}…
-
4
votes3
answers5382
viewsQ: capture information from websites
How do Buscapé and other sites manage to get the information from the sites? is through the Curl or an xml that stores websites make available?
-
-2
votes4
answers20055
viewsA: How to open a pop-up without using Javascript?
I was able to do/... what do you think of the code? Can you improve? And if js is disabled in the client browser, would it have some way to execute the code? <script…
-
12
votes4
answers20055
viewsQ: How to open a pop-up without using Javascript?
How to open a pop-up without using onclick or any other Javascript function?
-
7
votes2
answers1119
viewsQ: Manipulating XML with PHP
Could someone tell me how I do to get only the name value in the code below. index page. <?php $curl = curl_init('http://localhost/server.php'); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);…
-
4
votes1
answer321
viewsQ: View database information securely
What kind of encryption should I use to encrypt a CPF in the database and then display that same CPF (decrypted) to the client in a secure manner?
-
0
votes1
answer133
viewsQ: Error in classxml
Could someone tell me how to fix this mistake? Acessarserver.php file: <?php $xml = simplexml_load_file("server.php?id=8"); echo $xml; File server.php: <?php include("classxml.php"); $xml =…
phpasked Xiro Nakamura 563 -
0
votes1
answer1774
viewsQ: How to make sure the Curl post has arrived on the other server?
How can I be sure that one post reached your destination? And how can I build the code so that it has no problem with servers when sending the post? php. $id = "10"; $nome = "Nome"; $fone = "(99)…