web scripts
these web scripts include snippets you can work into your own website,
userscripts that can customize other websites, and web applications.
they’re based on web technologies such as html, css, php, mysql, and
javascript.
abe is a personal finance web application for people who have a private webserver. download transactions from your financial institutions and import them to abe for categorization and trending. it is under active development.
track7 is this very website. it’s already a website on the internet, so it wouldn’t make much sense to put the code from track7 up as another website. maybe there’s a part of track7 though that would fit into your website, in which case you can find the relevant files and use them as you see fit.
this package is a complete rewrite of my previous layout classes , with the goal that i would be able to use the same classes for all of the sites i work on (to the greatest extent possible). all of the classes in this package were used by track7 until the 2016 redesign . also included are classes for displaying and validating forms, manipulating text, building rss feeds, and timing code execution.
morespore improves profile pages on spore.com by adding total number of subscribers and achievements to the user stats section, as well as adding a link to the user’s qualityspore.com profile. on your own profile, the spore islands ad is hidden and a subscribers section is added along with a link to view all subscribers (currently limited to only 500) similar to how all buddies are viewed.
this package of scripts tracks hits to a site and summarizes hit statistics. track7 used it back when there was a stats section.
the layout class included in this package is very similar to the first one used on track7 to perform all the common page layout tasks. it relies on the engine class (also in this package). this package also includes a form class which can be used to display html forms, a gpc class which helps manage user input, a size class which formats file sizes nicely, a url class which helps to manage urls, and a date class which helps manage and print dates. some scripts available on track7 which say that they require the layout classes will require these classes as well. engine.php and layout.php each contain some of these classes — the header at the top lists which ones, but it is not necessary to know this information.
this script gives you an easy way to allow visitors to view your php source code. it uses php’s highlighting functions to color the php code for easier reading, and limits visitors to viewing source of files with the php extension inside the document root (usually public_html). note that if you have sensitive information such as sql passwords in a php file you should be sure that it is outside document root, or modify the show source script to explicitly exclude that file.
allow visitors to leave comments on your website.
this was once in use on track7 — you may remember when it used to say “___ housewives strong” on the front page. it uses a plain text file to store the current hit count, and a script called from every page adds to it. hits are counted once per session, and the hit counter starts the session.