Posts by Rodrigo Martins • 9 points
4 posts
-
-1
votes2
answers31
viewsA: Create a php folder in a specific repository
if the code is working and just creating the folder in the wrong place, try this: $parts = explode('Users/', $dir); $file = 'dados.json'; $dir = $data; foreach($parts as $part) if(!is_dir($dir .=…
phpanswered Rodrigo Martins 9 -
0
votes1
answer27
viewsA: php search pass to html
The full code would help us understand better. One would try to replace the code below: (is the only published snippet that contains short tags, if not displaying this part, may be the solution)…
-
-2
votes1
answer67
viewsA: Error 500 when using rewrite with the same file name (/tag/ does not go to /tags.php)
Solution: RewriteRule ^tag/(.*)/?$ /tags.php?tag=$1 [L]
-
-1
votes1
answer67
viewsQ: Error 500 when using rewrite with the same file name (/tag/ does not go to /tags.php)
I recently migrated my server to Ubuntu 14.04 with PHP 5.5.9 and Apache/2.4.7, but the rewrite that has string file name simply doesn’t work. Error 500 RewriteRule ^tag/?(.*)/?$ /tags.php?tag=$1 [L]…