1
Joomla! 3 / Re:bloccare PHP se non sono loggato
« il: 30 Ott 2016, 12:21:04 »
Grande Funziona
ho inserito il file protezione.php, poi nel mio file php ho scritto il seguente codice:
include('protezione.php');
if ($user->guest == 0 ){
echo 'Connesso';
Codicephp....
}
else
{
Codicephp....
header("location: http://miosito.it/index.php");
}
Grazie mille Alex
))

include('protezione.php');
if ($user->guest == 0 ){
echo 'Connesso';
Codicephp....
}
else
{
Codicephp....
header("location: http://miosito.it/index.php");
}
Grazie mille Alex
