hi, i was wondering if doing that would put a lag on a server. eg)
index.php
contains a template.
<?php
$extension=".txt";
if($SERVER["argc"])
{
$filename=$GET["filename"];
}
else
{
$filename="index";
}
$dosname=$filename.$extension;
include("$dosname");
?>
and there would be links that look something like this:
<a href="index.php?filename=mypictures">click for my pictures</a>
where mypictues.txt is only a list of the pictures.
is this wise? would it take a long time to load if there are many users? i know it's alright if there aren't many users but if there are, would it slow down everything? thanks!