functie returnare pagina
Scris: 24-Mai-2007, 17:31:23
Cod: Selectaţi tot
function pagina()
{
$y=$_SERVER[PHP_SELF];
$y=str_replace(".php","",$y);
$m = explode("/", $y);
return $m[count($m)-1];
}
forumul phpBB in limba romana. Opinii, implementari, ajutor, instructiuni si download.
https://phpbb3.ro/community/
Cod: Selectaţi tot
function pagina()
{
$y=$_SERVER[PHP_SELF];
$y=str_replace(".php","",$y);
$m = explode("/", $y);
return $m[count($m)-1];
}
Cod: Selectaţi tot
$y=$_SERVER[PHP_SELF];
Cod: Selectaţi tot
$y=str_replace(".php","",$y);
Cod: Selectaţi tot
$m = explode("/", $y);
Cod: Selectaţi tot
return $m[count($m)-1];