Monthly Archives: August 2005

class Util – a handy thing to have around

I have a Util class that is in my library of tools. I find myself using these functions often, thought I would share…. I like keeping my functions in a class, that way I don’t worry about redefining functions. Share … Continue reading

Posted in Code | Leave a comment

Weird Internet Explorer Print Bug Involving IFRAME and TABLE

I ran into a very strange bug with printing in IE. It happened in an online calendar program that I work on. Somebody showed me a printed page from IE 6 where the attendees, which are in an IFRAME, had … Continue reading

Posted in Uncategorized | Leave a comment

Throttle down your bandwidth

Just found this, think I might try it out sometime:http://www.xk72.com/charles/index.html See what your site looks like with low bandwidth or latency. Also, Charles can act as a man-in-the-middle for HTTP/SSL communication, enabling you to debug the content of your HTTPS … Continue reading

Posted in Uncategorized | Leave a comment

Using Curl 101

To use Curl in PHP, you must have the Curl extension compiled in –with-curl, and you’ll want –with-openssl, if you need to be able to hit https pages. Once you get PHP working with Curl (I could explain how to … Continue reading

Posted in Code | Leave a comment

PHP Sessions using MySQL

MySQL sessions are “gotta have it” thing if your site ever grows beyond single server. If you have multiple servers behind a load balancer, you could keep session data on a shared SAN, but MySQL makes for a better session … Continue reading

Posted in Code | Leave a comment