Subscribe via RSS

Tag: Scripts


On April 28th, 2008

XML Based User Manager

Self contained in one class, and fully customizable

A few years ago, I wrote on the whiteboard above my desk 'Build a login script'. It sat there in the corner, along with a few other ideas, some have since been completed, some have been long forgotten. As I said in my last entry, I just learned how to work with XML, and what I learned inspired me to finally upgrade my Simple User Authentication script to work with multiple users. I've done more than just extend the script however - I have created a fully functional, fully independent user authentication class. Include it, load the XML file, and you're good to go.

Read More

Posted in: PHP, Scripts, XML

On January 28th, 2008

Comments!

And with this, I declare the blog fully operational.

Alright! No doubt I'll keep making updates from time to time, but I think I have a nearly fully functional blog now, with the ability for users to submit comments! It's pretty straightforward, but I'm going to break down some of the work I did for the hell of it. In the meantime, I invite you all to leave your thoughts. Some basic notes, you're welcome to put a link to your website in the website form, but both it and the [url] BBCode will include rel="nofollow" tags to stop bots from following the links. Hopefully this will discourage anyone from posting just to improve their pagerank, and will help fight spam. Also, your email address will never be displayed to the general public, though I may use it to contact you if I feel you had a comment worthy of followup.

Read More

Posted in: Digital Gemstones, PHP, Scripts

On December 25th, 2007

Finding Code Online

Usable Code, That You Can Trust

The internet is a great repository of data, between google and wikipedia and countless other sources, if you look hard enough, you can find just about anything you can possibly imagine. But that's the problem, having to look, often very hard, and never really knowing if what you've found is really quality stuff.

Case and point, today I was looking for a data input sanitizer because I want to improve the functionality of the blog with comments and a couple of other tricks, but of course first you need to sanitize your input. I could (and at this rate probably will) write my own sanitizing script, and I'm pretty sure I could make it fairly secure, but why do all that, and run the risk of having a security hole, if you can find something that does it for you online? So I try some google searches: 'php input sanitizer', 'php form protection' 'free php form protection', etc. After a little digging I find a few promising looking sites and scripts, though not much. Even what I do find that looks promising, I have no way of knowing if it's trustworthy or not, do I?

Read More

Posted in: Scripts, Security, Usability

On December 20th, 2007

New Scripts

Cool Tools I've Built

Well I know the Scripts page has been kinda stagnant for some time now, but being on break from school has given me a chance to update the site with some new code, including this blog, and upload some scripts and programs I've built for public consumption. From this point on I'll have a blog entry for each new script I upload, but for now I'll just cover what I've got if you want to read the full article.

Read More

Posted in: Digital Gemstones, Scripts