Gossamer Forum
Home : General : Perl Programming :

how to include a PHP file in a Perl file ?

Quote Reply
how to include a PHP file in a Perl file ?
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 .
Subject Author Views Date
Thread how to include a PHP file in a Perl file ? johnpaul 4885 Feb 25, 2006, 2:00 AM
Post Re: [johnpaul] how to include a PHP file in a Perl file ?
mkp 4760 Feb 26, 2006, 5:50 AM
Thread Re: [johnpaul] how to include a PHP file in a Perl file ?
Alex 4758 Feb 28, 2006, 6:29 PM
Post Re: [Alex] how to include a PHP file in a Perl file ?
mkp 4761 Feb 28, 2006, 10:35 PM
Post Re: [johnpaul] how to include a PHP file in a Perl file ?
webmaster33 4749 Mar 2, 2006, 3:37 PM