Welcome to Lightyear Design

We specialize in producing affordable, high quality web sites and custom, online applications: from online financial calculators, to sophisicated content management systems, we can build it for you.


Simplified PHP Input Validation for forms

June 16th, 2009

When it comes to online forms, gathering information from the user is of utmost importance. That being said, one must ensure that the user enters the correct information in the form, especially from a security point of view…Input from users in a web form provides a direct avenue of attack into the application (just [...]

Thantos PHP

LDAP and PHP login script

June 10th, 2009

Authenticating users of your web applications can be tedious, especially when your users are expected to remember multiple passwords (which can become a security vulnerability in it’s own right). That being said, integrating your login scripts with Active Directory/LDAP can be beneficial for a variety reasons: stronger passwords, fewer login credentials for your user [...]

Thantos PHP

Serving css to iPhones and other mobile devices

May 15th, 2009

Do you need to send iPhones and other mobile devices to a separate stylesheet for your phone?  You can use the following code:

CSS

Regular expression searches in HTML code

May 15th, 2009

A lot of times, we have to parse an .html page and return the contents between 2 div tags.  The easiest way to do this is by using regular expressions.  This is a great way to load pages into a Content management system: using a programming language, such as PHP [what we use], you can [...]

Thantos PHP

Javascript rotating features section

April 27th, 2009

Nothing catches the eye like a rotating features section on a website’s home page.  This can easily be accomplished with Javascript, and we will show you how.

Javascript

Outlook rule to save attachments to a web directory

April 24th, 2009

If you are like me, you get a lot of email messages with attachments in your Outlook email account.  Wouldn’t it be nice to automate the migration of these attachments to a folder of your choosing?  Well, you can, and we will show you how.

Thantos Office 2007

New look, new feel

April 4th, 2009

Lightyeardesign.com finally has a new look, after 4 years of stagnation (only in appearance, though…).  When one specializes in development for others, it can often be rather easy to neglect one’s own appearance. We finally bucked up to the suds, and the new look is born!

Thantos Uncategorized