17977Birthday Script :: Now OpenSource.http://techdrip.com/blog/?p=10As part of my efforts for TechDrip.com as a non-profit dev site I have released the Birthday script as open source. It includes the sig, form, insert and display scripts. To grab a copy go here and be sure to read the README which contains information and the SQL table layout.PHP > Scripts and Programs > Date and TimeOct 13, 2006http://techdrip.com/
LI-Date 'n Time uses a wizard to let you setup a date/time layout and generates a php include code which you can place anywhere on any page where you want that date/time to show up. There is no maximum on the number of dates/times you can display. Any format of date and time is possible in any order. You simply click on all the elements you want to include in the date/time and the script generates some code for your website. You also get a setup file in which you can enter the names of days and months in any language, in case you want to use month and day names in your clock but don't want to use the default english names. (e.g. sunday, August etc.)
Unlimited amount of clocks
Each date/time can be in a different style
By changing the setup file you can have the date and time in any language you want
No need to change pages, just add a little php include command
Code choking your server's CPU? Site visitors clicking away because your page is taking too long to respond? Do you know?
PHP typically executes very quickly, though some code just plods. Retrieving and parsing remote files, image manipulations, multiple complex SQL queries, can grind down your site. Use PHP Script Timer to identify your bottlenecks.
For example, you want to retrieve and parse a remote RSS news feed. Do you use a locally cached file copy if it's current enough? Do you not bother, and just use the remote feed each time? Does it matter?
dateCalculator is a simple to install php/mysql script that allows you to see how much time has elapsed since certain events. You can add any event to the script, like a birthday, anniversary, purchase, etc. It will display the time elapsed in years, weeks, months, and days. It's an informative script that is fun to view every now and then.
I've spent a lot of time searching the net in order to find a library that can be used as a replacement for the php strtotime() functions. I was looking for something that would at least allow me to convert dates like 2 Jan 2039 to a timestamp. My closest find was the ADODB Date library, which can be used to replace the other date functions (like mktime, etc) but not strtotime. As a result of this, I've decided to create me own little Date class library as a first start.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.