$path_parts = pathinfo($_SERVER["REQUEST_URI"]);?>
$dirs=`ls -t -1 -r *.php`;?>
$dirnames=split("\n", $dirs);?>
$size=count($dirnames);
for ($i=0; $i<=($size-2); $i++)
{
if(((strstr("$dirnames[$i]","index.php"))&&($path_parts["extension"]==""))||
(strstr(urldecode($_SERVER["REQUEST_URI"]),"/~luap/$dirnames[$i]"))){ ?>
}else{?>
}?>
">
}?>
|
Serial ATA bits
$descriptions=array(
"sata-data-connector.jpg"=>"A close-up of the connector on the Serial ATA data lead.",
"sata-data-lead.jpg"=>"A Serial ATA data lead. Note that this lead is only 20cm long, it was the only lead that I could buy cost-effectively from the supplier I was ordering from. In a single-disk system, with the drive mounted under the floppy bay, you'd probably be ok, but I'd really recommend a longer lead. By contrast, the 1m lead supplied with the adaptec card I bought is a bit excessive, the diagonal dimension of my biggest case is only just 1m.",
"sata-drive-connectors.jpg"=>"Note that some of the contacts are longer than others. This is important in hot-swapping. I read somewhere that the power contacts should be made in three groups (ground, pre-charge, the rest) but this HDD seems to have them in only two groups. The data interface has a differential pair for transmit and receive, and three ground wires.",
"sata-drive.jpg"=>"A Serial ATA drive, its a Seagate, in a Sea-shell (they're good).",
"sata-power-lead.jpg"=>"A Serial ATA power adaptor lead. Which is nice."
);
$mysize=0.0;
$dirs=`ls -1tr serial-ata/*.jpg`;
$dirs.=`ls -1tr serial-ata/*.gif`;
$dirnames=split("\n", $dirs);
$size=count($dirnames);
for ($i=0; $i<=($size-2); $i++)
{?>
">
$pathname=split("/",$dirnames[$i]);?>
" width=200 ALT="image gallery thumbnail">
$mysize=$mysize+filesize($pathname[0]."/thumbs/".$pathname[1]);?>
|
0kiB
foreach($descriptions as $key => $value){
if (strstr($key,$pathname[1])) echo $value;
}?>
|
}?>
Total size of thumbnails on this page: 0kiB
|
This page has been created by, and is maintained by Paul Norton.
All content is Copyright Paul Norton 2002/2003 unless otherwise stated.
Comments, questions, notices etc should be sent to:
luap@icculus.org
(Timezone: America/New York)
|