I have many clients that have password protected portions of their website. They love that they can charge users to access content but still allow Google into their website to index it. How does the PHP script know if it's Google accessing the site? By checking the user agent, of course.
Read PostWe all feel as though we aren't as appreciated as we should be sometimes. Our every day dominance of the web world gets taken for granted by those that aren't tech-savvy, especially the higher-ups in the organization. I've come up with a few ways that us programmers and designers can make the "Mustaches" in the organization remember how important we really are. Print Code to Their Printer Many times, printing your code to the printer they frequent is the only time the Mustaches have a chance to see your work. I say this, of course, because there are no computers on the golf course. Printing your server-side language (PHP, ASP, Java, Cold Fusion...) is a must. If you're feeling frisky, go ahead and throw some XHTML or JavaScript with it. To increase the effect, print your code out compressed. Don't include CSS though — far too humanly-readable. Speak Lingo When Mustaches Are Present If you see a Mustache walking down the hall toward your department's cube-neighborhood, wink to fellow employees and start keyword-stuffing your sentences. And I MEAN keyword stuffing — like getting removed from Google keyword stuffing. For example...
Read PostSince the web is moving more and more toward a drag and drop world, it's important to prevent Internet Explorer's default dragging action when attempting to drag an image. JavaScript makes this possible.
Read PostAs you can see from my site's lack of design, I'm about 90% programmer and 10% designer. As someone that's not a designer, I'm really grateful for websites like ColourLovers — websites that provide you palettes of colors that look good together. Let's pretend for a moment that I do have a good design and I want others to know my palette. MooTools 1.2 has made that a reality.
Read PostKeeping your website current is extremely important when your goal is increasing return traffic. One easy place to make your website look current is in the copyright text at the bottom of the page. This is a rather obvious and easy thing to do, but some sites have overlooked their copyright year.
Read PostA few weeks back, Reinhold Weber played some Usher and spilled his confessions onto the pages of his blog. I thought this was a great idea and I have some web confessions of my own to share...
Read PostI don't create many sites that feature multimedia. Most of my customers don't have a need for audio or video on their site but we occasionally get a request to add an advertisement or webinar. That said, I've scoured the internet enough to have seen good, bad, and ugly uses of multimedia on the web. The following are my guidelines for using multimedia on a website.
Read PostIf you're in the market for a lightbox but don't know which lightbox has been created for your library, let this be your guide. This site provides checkboxes to customize your search. Awesome!
Read PostA while back, I shared a method for forcing a secure page using PHP. What if you want to force SSL (https://) on an entire website though? You don't want to have to put force-SSL PHP code on every page, right? Well, the website's .htaccess file comes to the rescue.
Read PostHave a band and need a website you can update? Looking to edit shows at will with ease? I think I've got what you need.
Read Post