this file shows you the content of the directory its lying in. just copy this file in the directory and look at it. it DOESN'T shows subdirectories, but the query, which remove the sub-dirs, is marked so you can easily remove it. I've used HTML, CSS and PHP. ps: excuse my bad english please, i'll try to get better. thx.
By : juna
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- written by juna reuther - http://snowcristals.net. hope you enjoy it. its none of my business if you leave the comments or not. do as you like :) --> <HTML> <HEAD> <TITLE> index </TITLE>
// reading the content and... $mydir = dir("./"); while ($file=$mydir->read()){ $kind = filetype($file); if ($kind != "dir"){ // ATTENTION! if you want this file to show subdirectories, remove this query
//... showing the content: //<tr> - backgroundcolor echo "<tr>"; if ($trbg=="1"){ echo "<tr class=\"trone\">"; $trbg = "2"; } else if ($trbg=="2"){ echo "<tr class = \"trtwo\">"; $trbg = "1"; }
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.