Questions tagged as 'php'

0
answers

Registered boleto - Banco do Brasil - Automatic remittance [closed]

I have today generation of bank boletos through a free system in PHP. However, it works only with wallets without registration. Now, I need to implement in my sales system (which is itself, does not use any ready system of virtual store), the...
asked by 10.10.2016 / 21:07
1
answer

how to decrypt md5 and sha1? [duplicate]

I'd like to know how to decrypt md5 and sha 1 I'm using both to enter the user's password in the database, but I have to make a page for who forgot the password and if I only play the value that In the bank it will send the entir...
asked by 18.12.2015 / 17:38
2
answers

Help with JOINS in 3 tables

I found a tutorial talking about JOINS and implanted in the search for the sales made. But it did almost all right, but at the time of the search for the sales code, instead of bringing me only the result referring to the code consulted, it b...
asked by 21.12.2015 / 03:17
1
answer

Configure N levels in htaccess [duplicate]

On the site we have the product area where there may be N levels and sub-levels of categories. Currently htaccess is configured to accept 2 levels: RewriteRule ^([a-zA-Z_-]+)/produtos/([^/]*)/([^/]*)/([^/]*) index.php?area=produtos&lang=...
asked by 04.11.2014 / 12:51
2
answers

How to get the result of the query separated by columns?

I need to make a query in dbpedia and from that query return name, genre and other information of a certain singer. I am able to do this, however my code returns the entire tuple, I wanted to be able to separate the information by column. Can so...
asked by 11.05.2014 / 15:59
1
answer

Find in an array the next value greater than a pre-defined value

I have the following array with forech defined: $getdepth = '{"result":"true","asks":[[20,13],[34,20],[30,8],[35,8],[4,40],"bids":[["18",22],["16",74],["70",99],["65",18],["1",15]]}'; $depth = json_decode($getdepth, true); foreach ($depth['ask...
asked by 05.04.2014 / 02:30
2
answers

Looping on an array to always choose the next value

I have an array of users and I need to loop between them. It will work like this, every time someone makes a request on the page, I need the next user to be saved in the database of the one that was previously chosen. This is my array, which...
asked by 11.03.2014 / 22:52
1
answer

List directory over the network

I'm using the code below to read files: Locally it works, but when I put the $ dir variable with a network path, as below, I get error: $dir = "W:/_Infraestrutura/Controles/Inventario de Equipamentos/ " ; $pasta= opendir($dir); echo "&...
asked by 25.09.2015 / 20:57
1
answer

PHP can not read POST sent by JavaScript

I'm creating a login system for my site following tutorial , but I have a problem when I log in. Apparently, the JavaScript code does not pass the form parameters correctly. The login page code is: function hex_sha512(value) { // apenas p...
asked by 21.10.2015 / 01:51
1
answer

Save cropped image with JCROP pro Bank

Hello! I'm creating a user profile and to crop the image I'm using JCROP. It usually cuts to me, but I wanted to know how I can save this result in the image and the bank accept this clipping that has been done. <!DOCTYPE HTML> <...
asked by 25.07.2017 / 17:41