or actual ... for the code to show up here in the web form ... try this code ...
<head>
<title>Untitled</title>
</head>
<body>
<ul>
<?
if (strlen("$QUERY_STRING")==0){
$diropen=".";
}
else {
$r=split("=","$QUERY_STRING");
$diropen=$r[1];
}
print "<li><h1>Import Data from $diropen</h1></li>";
if ($r[0]=="dir" || $diropen=="."){
if (chdir("$diropen")){
$d=dir('.');
while ($what=$d->read()){
if (is_dir($what)){
$f=getcwd();
print "<li><a href='$PHP_SELF?dir=$f/$what'><FONT COLOR=RED SIZE=3>h;<B>$what</B></FONT></a></liNgt;";
}
else {
$f=getcwd();
print "<li><a href='$PHP_SELF?file=$f/$what'>$what</a></li>
".filesize($f.'/'.$what);
}
}
}
}
?>
</body>
hope I got all of them ...
(just incase i didn't:
I used <UL> to start an Unorderd List
then I added a <LI> - Line for each print function...
dressed it up with a few font features; <B> and <FONT> ... and vuala! )
-enjoy!