Newest Industry

Evolving the Online Performance Experience

GrabPERF Server updated to PHP 5.1 RC1

leave a comment »

I was having issues upgrading the site to PHP 5.1, mainly because it broke a number of the GrabPERF graphs.

Then I read the PHP docs. Turns out that there have been some internal changes to the strtotime() function. I had been using strtotime(date(Ymd H), time()) in the broken graphs; this now returns FALSE, not a numeric value.

A simple switch to strtotime(date(YmdH0000), time()) resolved the problem entirely.

If you see any weirdness, let me know!

Advertisement

Written by Stephen

September 6 2005 at 21:35

Posted in Uncategorized

Leave a Reply

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

Gravatar
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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 269 other followers