Posts by dodopok • 235 points
4 posts
-
0
votes1
answer1677
viewsA: Error 500 when consuming Nfedistribuicaodfe webservice
Dude, compare it to this one and you’ll find: <?xml version="1.0" encoding="UTF-8"?> <soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"…
-
2
votes2
answers1162
viewsA: Control of login attempts by PHP
Can use SESSION. For each attempt, increment a variable in $_SESSION and also record the time the guy tried. If you’ve had more than this many attempts in the last hour or so.
-
2
votes1
answer85
viewsA: Random selects with PHP and Mysql
You can store in an array all the ones going, query with ORDER BY RAND() and in the query make a SELECT WHERE id NOT IN ($suavariavel)
-
6
votes4
answers3090
viewsQ: Regex for Cifras site as Cifraclub
I need a Regex that works well, and in JS, to take only the chords of a cipher like this: http://www.cifraclub.com.br/gui-rebustini/sou-um-altar/ The problem is I never messed with Regex. Any idea?…