Posts by Henrique S. Santos • 104 points
13 posts
-
0
votes3
answers1503
viewsA: Separate values from a variable
Use a explode to make the separation the way you need ex: $params = explode(',', $row['variavel']); $lat = $params[0]; //-4.08768 $lon = $params[1]; //-63.141322 23/04/2017 22:00:00 $val =…
-
0
votes0
answers49
viewsQ: How to compare the password via a Wordlist
How can I implement in the code so that the password is compared through a Wordlist in . txt? And print the password that is matched. In the Example below the password is hello world. $hash =…
-
0
votes1
answer227
viewsQ: What kind of encryption is that?
I ran into this guy: $2a$08$Cf1f11ePArKlBJomM0F6a.xzfpEexCPc/xm.u/Tv/pK6K..cagbv. encryption in a client’s database but I don’t know, someone knows what it’s about?
-
0
votes1
answer60
viewsQ: Facebook SDK with PHP - Link Image
I’m using the code below for an application for facebook, I’m having difficulty posting the image with link in the image, follow the code. // Cria a instancia da aplicacao, informando o appid e o…
-
0
votes1
answer627
viewsA: Generic Parameter Friendly URL . htaccess
You can do it this way, so you create the post file and leave it as if it were an example category: www.site.com.br/post/first-materia/1 in this example you need to pass the post ID to list on the…
-
0
votes2
answers235
viewsA: Return Latitude and Logitude to my form fields with Javascript - Google Maps
I was able to solve by doing as follows, so I was able to rescue all the data for my form. var place = this.getPlace(); $("body").find("#txtNome").val(place.name );…
-
0
votes0
answers177
viewsQ: Find by establishment and not by street GOOGLE MAPS
I am using the following code to find streets on google maps, but I have the need to find establishments, here follows the link of the project, being having difficulties to find the sites. var…
-
1
votes2
answers235
viewsQ: Return Latitude and Logitude to my form fields with Javascript - Google Maps
My problem with latitude and longitude have been solved, now I’m having difficulties to return these values within my form, I’ll leave down the link to demo. Link with the project "I am using the…
-
0
votes0
answers941
viewsQ: Export Table in EXCEL with PHP
I am exporting my data to excel format, but when I export the accents do not return correctly, this is my script: <?php include_once "bancodedados.php"; $table="smt_cadastro_sociedades"; $select…
-
1
votes1
answer117
viewsQ: Return Wordpress Post
I have the following script that returns me the status and the amount of posts you have in this state, now I would like to display these posts, someone knows some solution? <?php $query=" SELECT…
-
5
votes2
answers127
viewsQ: How to invert values that are comma separated in mysql
Photo of my base: The data is like this: -46.63642120299626,-23.54854965191239,0 I need to select so that they stay inverted: Ex: -23.54854965191239,0,-46.63642120299626 My selection in php:…
-
1
votes2
answers300
viewsA: I am not able to store the correct information of a Radio Button in the database
Good afternoon! If you use this way I believe your code will work. Java public class CadastrarHospital extends Activity { private EditText nome_hospital; private EditText cidade; private EditText…
-
0
votes2
answers107
viewsA: Authenticate PHP page through the application is not working
The correct is for you to use your SQL query string like this: $sql = sprintf("select * from usuarios where username='$username' and password='$password'", so that the query can be returned from the…