Posts by Rodrigo Beloyanis • 84 points
5 posts
-
0
votes1
answer111
viewsA: User friendly URL on specific page
Try this Arquivo noticias.php <?php $titulo = $_GET['noticia']; $id = end(explode('-',$titulo)); echo $id; ?> File . htaccess RewriteEngine On RewriteRule ^noticia\/(.*)$…
-
1
votes1
answer67
viewsA: Integrate with Payu - How to read data individually
Spin it and see if it goes right. I removed the comment from '//'Accept: application/json' why it was returning in XML format, and verified that the return data is in array format and not object You…
phpanswered Rodrigo Beloyanis 84 -
1
votes1
answer40
viewsA: How to submit data from a JS array to PHP?
There are several ways to do this, it would be more interesting if you make the current code available. Anyway look at the code below. Maybe I can give a light on what to do. In case it doesn’t help…
-
-1
votes1
answer458
viewsA: I want to increase sending (time) to upload files
You can try increasing the running time via php.ini: max_execution_time = 600 or in the php file itself ini_set('max_execution_time','600'); Add more memory per run, this can help:…
phpanswered Rodrigo Beloyanis 84 -
1
votes1
answer474
viewsA: Read/Search information inside a Json with PHP
This way it will display in your HTML only those with level 10 or higher. <?php foreach ($pets as $pet) : ?> <?php if($pet['stats']['level']>=10){ ?> <tr> <td> <?php…