I have installed a login system for my site, I have added this code to all my php scripts (at the begning),
Quote: session_start();
include("database.php");
include("login.php");
if ($logged_in <> true) {
echo "you are not logged in";
displayLogin();
exit;
}
is it possible to add this login system to my .cgi file too ?
generaly is it possible to run a PHP code in the middle of a perl script ?
if yes please tell me how .
Quote: session_start();
include("database.php");
include("login.php");
if ($logged_in <> true) {
echo "you are not logged in";
displayLogin();
exit;
}
is it possible to add this login system to my .cgi file too ?
generaly is it possible to run a PHP code in the middle of a perl script ?
if yes please tell me how .