PHP Script Timer finds the code that's choking you ...
17979PHP Script Timer finds the code that's choking you ...http://www.ars-informatica.ca/article.php?article=37Code 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?PHP > Scripts and Programs > Date and TimeOct 13, 2006Paul Postuma/Ars Informatica
The PHP Date Library is collection of professional native PHP functions to work with dates. It does not require any PHP extensions. This library includes most useful functions to work with dates. It includes functions to validate the date, shift date by given amount of days, calculate difference between two dates, calculate week number for given date and much more.
It properly handles leap years and is ISO compatible.
Professional programmer has spent 3+ days to study the subject, code the library, write manual and put it all here. Now the PHP Date Library is available for price less than one hour rate.
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.
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.