I have the following php code to make my site urls friendly:
<?php
$atual = (isset($_GET['pg'])) ? $_GET['pg'] : 'home';
$permissao = array('home', 'contato', 'sobre', 'politica');
$pasta = 'arquivos';
if (substr_count($atual, '/') &g...
asked by
01.02.2015 / 03:46