Code snippet

During work today, todays assignment is to test a website which recently went offline, I decided to write a tiny script that helps me answer the question “When do my commute card’s period end?” When I buy the card each month it only says “Purchase date + 30 days”.. So I never really know the exact day, unless I manually count, the card stops working.

So I wrote this lil’ script, and I wonder why I didn’t do this sooner -.-…

Live: http://server.thenamelssone.com/30days/
Code: http://server.thenamelssone.com/30days/index.phps 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s