I'm using the static build of Links with a php extension option (i.e. index.php - more2.php - Detailed/12.php) so i can add custom built PHP functions like adding the servers year date at the bottom of all my pages.
Is there a way to include some of the functionality LinksSQL page.php uses?
like checking if a user's logged in on all pages:
home.html template
<head>
<?php
include_once("/home/virtual/serverpath/Links/PHP/User.inc.php");
?>
</head>
<body>
<?if ($Username) {?>
| <a href="<%db_cgi_url%>/user.cgi?logout=1">Logout</a>
<?}?>
<?if (!$Username) {?>
| <a href="<%db_cgi_url%>/user.cgi">Login</a>
<?}?>
</body>
thanks for your help :)