Just wanted to point out that I found a little bug in the redirect line (#56). It should read:
print "<li><a href=" $config[phpurl]/links_redirect.php?lid=$row[lid]&url=$row[url]" target="_blank">$row[title]</a> (added $time)</li>";
instead of:
print "<li><a href="links_redirect.php?lid=$row[lid]&url=$row[url]" target="_blank">$row[title]</a> (added $time)</li>";
I've changed the upload to match the correct version.