<?php
	include_once($_SERVER['DOCUMENT_ROOT'].'/daten/php/startup.php');
	
	$pagetitle = 'Lister - PHP script for directory management';
	$breadcrumb = '';
	$keywords = 'PHP, upload, script, directory';
//	$description = '';
	include_once($_SERVER['DOCUMENT_ROOT'].'/daten/php/pageheader.php');
?>
		
<div class="content">

<div style="float: right; font-size: small;">
	<a href="index.php">Deutsch</a>
</div>

<img src="lister_screenshot.en.gif" alt="Lister screenshot" style="clear: both; float: right; border: 1px dotted gray; margin-top: 2em; margin-left: 1em; padding: 5px;"/>

<h1>Lister</h1>
<p>
Lister is a PHP script that allows file uploads and downloads in a directory. Uploaded files are shown in a table.
</p>
	
<h2>Features</h2>
<ul>
	<li>File upload, download an deletion</li>
	<li>Uploads and downloads can be secured with a password (optional)</li>
	<li>By default all file names are URL encoded on upload, preventing problems with special characters.</li>
	<li>Secured with Apache directives in a .htaccess file</li>
	<li>Interface in German and English, depending on browser settings.</li>
	<li>valid XHTML 1.0</li>
</ul>

<h2>Installation</h2>
<ol>
	<li>
		Make a directory on your web server and set the permissions to 757
		(<span style="font-family: 'Courier New', monospace; font-size: 80%;">chmod 757 <em>directory</em></span>)
	</li>
	<li>
		Copy <em>lister.php</em> and <em>.htaccess</em> into the directory.
	</li>
	<li>
		If you want to set a password for upload and deletion, write it into a file named <em>password.txt</em>
		and also copy it into the directory.
	</li>
	<li>
		Security check: Open Lister and upload a file. Try to access it directly via URL on the server
		(e.g. <em>http://www.myserver.com/lister/uploaded-file.txt</em>). If an error message appears
		(&quot;Access Denied&quot;), your installation should be secure.
	</li>
</ol>

<p style="margin-left: 1em;">
	Setting Options: If needed, various options can be set in the setup area at the beginning of lister.php.
</p>

	<form action="http://www.scripts.com/rate.php" method="post">
		<div style="margin-left: auto; margin-right: auto; width: 460px;">
			<input type="hidden" name="ID" value="21641" />
			<table width="460" cellpadding="1" cellspacing="1" style="background-color: #ff6600;">
				<tr>
					<td>
						<table width="460" border="0" cellpadding="3" cellspacing="3" style="background-color: #ff9900;">
							<tr>
								<td style="width: 45px; text-align: center;"><a href="http://www.scripts.com"><img src="http://images.devshed.com/scr/misc/logo_01.gif" width="45" height="28" style="border: none;" alt="Scripts.com" /></a></td>
								<td style="width: 130px;"><a href="http://www.scripts.com" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; color: #FFFFFF; text-decoration: none;">Scripts.com</a></td>
								<td style="width: 100px; font-size: small; font-family: Arial, Helvetica, sans-serif;">Rate this script:</td>
								<td style="width: 146px;"><select name="rating" id="select"><option value="5" selected="selected">Excellent!</option><option value="4">Very Good</option><option value="3">Good</option><option value="2">Fair</option><option value="1">Poor</option></select><input name="vote4" type="submit" id="vote4" value="Vote!" /></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
	</form>
	
<h2>Download</h2>
<div style="background-color:#C5C5C5; padding: 4px;">
	<div style="float: left; margin-right: 3px;">
<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.0/de/"><img alt="Creative Commons License" style="border: 0px;" src="http://creativecommons.org/images/public/somerights20.png"/></a><!-- br/>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.0/de/">Creative Commons Attribution-ShareAlike 2.0 Germany License</a>.--><!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
		<Work rdf:about="">
			<license rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/de/" />
			<dc:title>Lister</dc:title>
			<dc:date>2006</dc:date>
			<dc:description>Ein PHP-Skript für Uploads und Downloads in einem Verzeichnis.</dc:description>
			<dc:creator><Agent><dc:title>Tilman Walther</dc:title></Agent></dc:creator>
			<dc:rights><Agent><dc:title>Tilman Walther</dc:title></Agent></dc:rights>
			<dc:source rdf:resource="http://www.tilman.de/programme/lister/" />
		</Work>
		<License rdf:about="http://creativecommons.org/licenses/by-sa/2.0/de/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
	</div>
	<p>
		Lister is provided under the <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.0/de/">Creative Commons Attribution-ShareAlike 2.0 Germany License</a>.<br />
		<span style="font-weight: bold;">The software is made available free of charge; thus, no express or implied warranties are made.</span>
	</p>
	<p>
		<a href="lister.zip">Download Lister v1.89</a>
	</p>
</div>

</div>

<?php
    include_once($_SERVER['DOCUMENT_ROOT'].'/daten/php/pagefooter.php');
?>
