PDA

View Full Version : Perl scripts and who's online


Lionel
03-12-2007, 12:46 PM
I've been displaying who's online for all locations on my site using the preprocess. I've got a perl script, not in cgi-bin, but at root. Are there any reasons why the preproces cannot recognize the .pl extension?

this is my preprocess

if ($_SERVER['SCRIPT_NAME'] == '/sites/do.pl')
{
$filename = do.php';
}