Well at work a couple week ago, we had one of our affiliates try to use an iframe to serve our site directly through their domain and reap the affiliate benefits. A couple lines of htaccess code fixed that with a little fun mixed in.
Just a quick tip here for uploading large files in PHP. I had to write a form to upload fairly large files (100+ megs). At first I tried using ini_set to up the PHP upload settings:
Wow long time no post. I’ve been pretty busy with work and freelance stuff but I’m hoping to get back into posting again.
Well my employer had their site mirrored by d3stroy.com the other day. My coworker and I had the task of staying late and figuring out what they did.
My coworker and I had been putting off looking into setting the cache expiry headers and enabling GZIP compression on our site. It had been on my to do list for a while after getting recommendations from the Google Page Speed and Yahoo YSlow Firefox add-ons for Firebug. Great add-ons for developing. Pick them up if you don’t have them already. Now, back to caching and compression.
Today I was connected to my server through SSH copying over a site to a new domain and needed to figure out if I had enough server space for the copy and which files/folders were taking up the most space. I’d never done this before so I did a quick search in google and pulled up this site.