Geekinator.com

Entries for the ‘Servers’ Category

Save output of print_r to variable instead of displaying it

I found this on someone else’s site (at http://www.electrictoolbox.com/return-information-from-php-print-r/) and thought I’d share it here as well. Something I’ve been wondering about for years and never really figured out how to do, was how to save the output of the print_r command to a variable, instead of actually displaying the contents to the screen. As [...]

Want to speed up your coding? Give a framework a try!

I’ve been working with PHP for about 10 years now, and the one problem I’ve always had was keeping my code organized and how to reuse my code efficiently. Well, a couple of years ago, I ran across some information about using frameworks to help speed up the coding process. I’m always a big fan [...]

Clicky Stats – The Best Web Stats ever!

My company owns a lot of domain names, and we have created various sites to host on those domains over the years. The one problem we’ve always had was trying to figure out the best web stats software to use on all of these sites. I’ve tried Google Analytics, which is ok but very limiting [...]

Speed up your PHP pages with Gzip!

I can’t believe I haven’t learned about this little trick until recently, but I’m sure glad I learned it. A lot of you may already know this, but there’s a simple little tag you can add to the top of your PHP pages that will speed up the transfer of your site significantly, and on [...]

  
Web Analytics