Thanks for looking into this, laserlight. The code looks like this. I put it at the beginning of a file, and use the $filename in a condition.
<?
$filename = basename($PHP_SELF);
echo $filename;
?>
It displays nothing. As I said, it works on some computers but not this particular one.
Appreciate your help.