<div class="commonMain commonContent">
Copyright © 2003, 2004 <a href="/php/mail.php?w=kal">Kalle Räisänen</a>.
<br />Sources:
<?
$included = get_included_files();
$num_included = count($included);
for($i = 0; $i < $num_included; $i++)
{
// Make path relative to web root, rather than absolute - kinda kludgey
preg_match("'^.*?\/(php.*?)\$|^.*?\/(index\.php)\$|^.*\/(404.php)\$'",
$included[$i], $found);
// Just look at this. And you thought PHP couldn't be beautiful...
$f = "./" . ( (isset($found[3])) ? $found[3]
: ( (isset($found[2])) ? $found[2]
: $found[1] ) );
$b = basename($f);
printf("<a href=\"/?content=sources&filename=$f\"%s>$b</a>%s\n",
( ($b == "$content.php" || $b == "404.php") ? 'style="font-weight: bold;"' : '' ),
( ($i == $num_included - 1) ? '' : ', ') );
}
?>
</div>
Latest News
Latest Software
read 0.3.6
kal, 2004/04/30 07:14:24.
nroff 1.10
kal, 2004/04/22 08:29:10.
Nenscript 1.13.3
kal, 2004/04/22 08:23:53.
necho 0.2.3
kal, 2004/04/19 10:58:47.
dgrep 0.1.4
kal, 2004/04/19 10:49:42.
kal, 2004/04/30 07:14:24.
nroff 1.10
kal, 2004/04/22 08:29:10.
Nenscript 1.13.3
kal, 2004/04/22 08:23:53.
necho 0.2.3
kal, 2004/04/19 10:58:47.
dgrep 0.1.4
kal, 2004/04/19 10:49:42.
Select Theme
Links