Posts by SABRINA FUTUROSO • 45 points
4 posts
-
0
votes1
answer330
viewsQ: Count element amount of a page array
Hello, good afternoon. How can I make a foreach loop or a preg_match_all to count the amount in that element appid repeats in a page ? I tried this way and got: function get_Jogos() { $array = […
phpasked SABRINA FUTUROSO 45 -
3
votes0
answers60
viewsQ: Encrypt and Decrypt in RSA Public_key MOD
I’m trying to encrypt strings in RSA , but did not succeed. I tried this way (with the lib phpseclib): $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, '...'); curl_setopt($ch,…
-
1
votes1
answer53
viewsQ: Extract contents from <script>
How can I be extracting the value of "csrf_token" from this code on the page: EDIT: There was one missing } at the end of string of variable window._sharedData, so the json string was invalid.…
phpasked SABRINA FUTUROSO 45 -
0
votes1
answer164
viewsQ: Get reply JSON information
Good afternoon guys, I need a little help. $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://pubproxy.com/api/proxy?api=...'); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch,…
phpasked SABRINA FUTUROSO 45