- Blog / Personal
-- Comments System
-- Navigation Structure
-- SFV checker
-- Stats Sig/Av
-- 32-character file rename batch file
-- Simple Message Storage
As I write sites, I often make reusable code. Much of my code has been designed for Hostfile.org for one purpose, reused many times (like the menu, the item-drawing system, etc), but let's see if I can generalize it for the light of day.
It renames files, it runs on a Windows command line, and it doesn't rely on third party commands. Windows rules.
This is a database-based system that allows users to comment on things referenced by their "context". It's very simple but it supports usernames, avatars, subtitles, and profiles, fed externally to/from the script. It's a subsection of a main part of my scripts, which relies on other things for it to work properly. You should be able to figure it out...
A simple set of code that allows you to use PHP multi-dimension arrays to build a "smart" navigation menu like the one to the left.
A quick, precisely 1kb (1024 bytes) PHP script that stores and retrieves small text files, primarily for use on phones tat have more data plan than they do texting plan. Also great for getting text data from a PDA, to the internet, to your desktop.
FTP sucks, plain and simple. This will allow you to upload a SFV file to the server and check both that all the files on the server exist in the SFV file (e.g. during a download), or to check the SFV's checksums match those of the actual files on the server. Borrowed about 4 lines of code from a php.net comment.
A sig that changes to one of 24 images every hour, and displays statistics from both SigX and WhatPulse randomly. One of my oldest scripts.