CREATE TABLE `files` ( `id` int(10) NOT NULL auto_increment, `pid` varchar(100) NOT NULL, `timest` int(10) NOT NULL, `expire` int(10) NOT NULL, `file` varchar(250) NOT NULL, `name` varchar(250) NOT NULL, `size` int(10) NOT NULL, `mime` varchar(100) NOT NULL, `downloads` int(10) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ; CREATE TABLE `pastebin` ( `id` int(10) NOT NULL auto_increment, `pid` varchar(100) NOT NULL, `timest` int(10) NOT NULL, `expire` int(10) NOT NULL, `downloads` int(11) NOT NULL, `payload` text NOT NULL, `syntax` varchar(20) NOT NULL, `pub` int(1) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ; dann noch in include/config.inc.php die MySQL Daten anpassen. Die URLs werden umgeschrieben. Bei Lighttpd so z.B.: url.rewrite-once = ( "^/xshare/get/([0-9a-z]+)" => "/xshare/bintrash.php?download=$1", "^/xshare/getp/([0-9a-z]+)" => "/xshare/asciitrash.php?download=$1", "^/xshare/b/([0-9a-z]+)" => "/xshare/bintrash.php?download=$1", "^/xshare/a/([0-9a-z]+)" => "/xshare/asciitrash.php?download=$1") und bei Apache .htaccess so (danke an Medics): RewriteEngine On RewriteRule ^get/([0-9a-z]+)$ /bintrash.php?download=$1 RewriteRule ^getp/([0-9a-z]+)$ /asciitrash.php?download=$1 RewriteRule ^b/([0-9a-z]+)$ /bintrash.php?download=$1 RewriteRule ^a/([0-9a-z]+)$ /asciitrash.php?download=$1