McKremie

Increased traffic in your blog is desirable right? You crave recognition but when the moment arrives when your articles get slashdotted and dugg, your server inevitably crashes. What your readers get is an error message saying that the website is unavailable. This story has happened a hundred times already such that a name for it was invented. The “Digg effect” has even caused dedicated web accounts to crash majestically.

The pages of most websites today, especially blogs and social networking sites, are generated dynamically using PHP and MySQL. Assembling dynamic content requires more server resources compared to pages based on flat HTML. Fortunately, there are ways to optimize your server so that it uses fewer resources such as:

  1. Maintaining a cache of recently created content. Generation of dynamic content is a long process involving database queries and piecing query results with HTML and CSS. If a cache is enabled, what the server passes on to the browser when the same URL is accessed is content consisting of readily accessible HTML. This is good because aside from faster response times when serving HTML pages, server resources are not used to put together dynamic content.
  2. Optimizing the design of database tables as well as creating more efficient queries thus lessening the demand on your server’s resources when generating dynamic content. Make sure to index table fields that are used as foreign keys as well as those fields that are part of joins and used in forming query criteria.
  3. Making appropriately sized images and using the most acceptable JPEG compression is another effective way of lessening the demand on your server’s resources. If you use images as plain-colored backgrounds, CSS can do this task for you without the cost of reading an image file and positioning it somewhere on your web page. CSS can also tile images such that there is no need to use one huge image to serve as backdrop to your web page
  4. Using compression to reduce the size of data transmitted between the server and the reader

Preventing your site from crashing because of traffic surges is actually doable and is being practiced by experienced bloggers and site administrators. As you may have read, some of the tips mentioned are very simple like enabling the cache while others may require more experienced hands such as query optimization.

So the next time your site crashes the tips on this articles might help you solve this problem. If not help is readily available on the web.

Wednesday July, 15th
Posted by Ryan

Perez Hilton

No, this first picture has not been altered. Hollywood blogger sensation Perez Hilton really does have pink hair in this photo, and sadly, yes, the black eye is real too. Back in June, after the Toronto MuchMusic Video Awards, Black Eyed Peas manager Polo Molina reportedly punched Perez Hilton in the face. Perez obviously needs some makeover help, so we used these 25 Most Useful Photoshop Effects to take the attention away from his black eye. These effects are great for any photos needing an image makeover and as an added bonus we have added a link where you can find the tutorial on how to create these effects on your own.

Crack and Peel

http://photoshop-tutorials.deviantart.com/art/Crack-and-Peel-R-20607858

This effect can give you the impression that the picture is painted on rock wall somewhere and is slowly falling apart. This effect can make an image look old or fragile. It’s very striking and the tutorial can show you how it is done.

Changing Hair Color

http://www.cgshelf.com/changing_hair_color.php

This effect is so amazing that it may be hard to tell that anything has been changed. We thought Perez could use a little more color so our Photoshop hair stylist added some orange highlights.

Classical Portrait

http://www.bmcphotoart.com/portraittutorial.html

After softening the edges and dimming the light this photo could be a piece of artwork hanging on your wall. If you want to give your photo that classical feel check out the tutorial for an easy way to do it.

Collage of Polaroids

http://www.photoshopessentials.com/photo-effects/polaroids/

This is a very cool effect that easily breaks a photo up into different parts and assembles them as a collage of Polaroids.  Check out the easy tutorial.

Color and Motion

http://www.photoshopessentials.com/photo-effects/bourne-blur/

With this effect you can easily add color and motion to your photo. It works best for still shots of something that is already moving but as you can see it can add a cool effect to a portrait as well.  Tutorial here.

Coloring Effects

http://kailoon.com/photo-edit-coloring-effects/

There are many different coloring effects in Photoshop and the tutorial here will give you an understanding on how easy it can be.  In this case, we give Perez an excuse for getting into a scrape – see how sick he looks?

Darklight

http://www.photoshopassist.com/?p=68

With the Darklight effect in Photoshop you can smooth out the color and give your photo more intimate lighting. Tutorial here.

Dave Hill Look

http://www.diyphotography.net/creating-that-dave-hill-look

If you are a fan of Dave Hill’s amazing photos you can make your own with this Dave Hill Look effect, just for the step-by-step tutorial.

Dramatic Gritty Effect

http://photoshopfrenzy.com/?p=94

The Dramatic Gritty Effect really brings out the details and makes them raw and more alive. Check out the tutorial to give your pictures a Dave Hillier than Dave Hill effect.

Eery Eye Photo

http://www.photoshopstar.com/photo-effects/eery-eye-photo-manipulation/

When you see this photo you might think differently about Perez’s story. Just looking at that fire in his eyes it can be easy to assume that he may have caused the fight himself. Very useful for making a photo look guilty.  You can add your own eery eye effect with the help of the tutorial.

Face Painting on a Cracked Wall

http://www.celoxdesign.net/free-photoshop-tutorials/face-painting-on-cracked-wall/id/69

If you have always wanted your own fresco you can now be one step closer with the Face Painting on a Cracked Wall effect. This looks as if it came straight out of the Renaissance period.  Or from an ancient cave.  Become a caveman painter with this tutorial.

Fill a Photo with Photos

http://www.photoshopessentials.com/photo-effects/photo-fill/

No it is not a bad case of acne, they are actually photos. If you look closely you will see that Perez has a bunch of faces on his face and in fact the whole picture is made up of tiny pictures. This is one very cool effect. This tutorial is for that the-whole-is-bigger-than-the-sum-of-its-parts look.

Filtering Out Colors

http://www.photographyforums.org/photoshop/323-filtering-out-colours.html

By far one of the greatest effects is the ability to filter out colors. Always wondered how it can be done? Well with this tutorial now you will know.

Ghosting Effect

http://www.photoshopessentials.com/photo-effects/ghosting/

Want a spooky effect to your picture? Try this ghosting effect and see what you may look like in the afterlife.  You might never want to look at Perez Hilkton again after this tutorial.

Good and Evil

http://www.steelfrog.com/good-and-evil/

Does Perez really need the good and evil Photoshop work, when he blackens one side “manually”?  Maybe not, but you can use this effect to show your dark side to people.

Making Image Awesome

http://www.digitalartsonline.co.uk/tutorials/index.cfm?featureID=1709

http://www.celoxdesign.net/free-photoshop-tutorials/trippy-colors-photo-effect/id/63

Perez looks like he is enjoying himself at a crazy disco party. With this effect you can make any image look awesome!

Oil Painting

http://www.photoshopessentials.com/photo-effects/oil-painting/

Want to give your favorite photo that oil painting look? Then try this Photoshop effect for a fast and easy way to create a unique piece of art online.  No painting lessons required.

Photo To Line Art

http://www.verlagmartinkoch.at/tutorials/combinelineart/index.html

With this Photoshop effect you can easily turn any photo into line art. Check out the tutorial for step-by-step instructions to learn how.  This effect is ideal when you want an image to appear hand-drawn.

Puzzle Pattern

http://www.heathrowe.com/puzzeltexture.aspx

All the pieces are starting to come together with this effect. Turn your photo into a jigsaw puzzle. This effect helps make an image look like it’s just a picture, with a bit of 3D effect thrown in.

Rain to a Photo

http://photoshopessentials.com/photo-effects/rain/

It was a dark and stormy night… well even if it was a beautiful day this effect will allow you to add a little rain into your photos.  This effect is very useful to set a mood when Mother Nature was being uncooperatively sunny.

Retro Comic Effect

http://www.photoshoproadmap.com/Photoshop-blog/2007/09/13/give-your-photos-a-retro-comic-book-effect/

Want to be a comic book hero? Well the tutorial for this effect will make that happen. Cape and tights not included.  This tutorial is ideal when you want to tell a story with photos in a light-hearted way.

Stencil Art

http://www.melissaclifton.com/tutorial-stencila.html

Why pay money for the artist on the street corner to draw your picture when you can turn any photo into stencil art using this cool Photoshop effect.  This tutorial also can make the image look like it was taken from a newspaper.

Too Close to TV

http://www.photoshoplab.com/too-close-to-your-tv.html

To add a little technical surrealism try out this effect that resembles being to close to a retro television screen.

Watercolor Effects

http://kailoon.com/photo-edit-watercolor-effect/

http://www.photoshopessentials.com/photo-effects/watercolor-painting/

With this effect you can turn your favourite picture in a watercolor painting in no time.

Water Reflection

http://www.photoshopessentials.com/photo-effects/water-reflection/

This is a very powerful effect to add a water reflection to any picture and although it might not work as well with a portrait just think of what you can do with a landscape shot.  This effect can make an image appear more real, more three dimensional.

Tuesday June, 30th
Posted by Stuart

About Brent Csutoras

Brent Csutoras is a seasoned Internet Marketing Consultant who primarily specializes in Social Media, Viral Linkbait and Search Engine Marketing strategies. Known for his work on Weird Asia News, a popular website serving a growing audience of around a million unique visitors a month, Brent has built a reputation as a Social Media expert. You can finding him speaking regularly at some of the largest and well known conferences, such as SMX, Pubcon, SES, and InfoPresse.

He has also been mentioned in Forbes.com, interviewed for Entrepreneur.com, and was recently recognized as one of the Top 25 Most Influential Online Marketers of 2008. You can follow Brent on Twitter here.


Question 1: What did you do before becoming a social media expert and how did you get into social media?

Brent Csutoras: Before I really focused on social media marketing, I was an SEO with a healthcare company, managing a handful of sites. I first starting using social media as a way to build links off their profile pages. It wasn’t until one of my articles hit the front page of Digg, that I realized the amount of exposure it gave my content. I immediately started participating in the top social media sites and building my accounts up so that I could get my content popular more often. Of course, it is important to note that I was not only submitting my own content, but actively submitting tons of sources and being an active member in the community as well.


Question 2: What qualities and traits make for a good social media expert?

Brent Csutoras: I think that a good social media expert’s skills depend on their goal really. I don’t think there is necessarily a specific set of skills that make a social media expert, because social media is a very broad term and encompasses a lot of skill sets. When it comes to social media aggregation sites like Digg, then I think that in order to be successful, you need to have many of the same skills you need to be socially successful in real life. I often say that ‘social media online, is the same as social media offline’ and I still believe that very much today.

Online social communities are still social communities, where you need to establish a respect and presence before you will earn respect, authority, and the ability to succeed. You have to make friends, carry conversations, participate on a regular basis, and be in tune to what the current conversation points are. The funny thing is, that is exactly what you have to do in any social gathering in real life as well… go figure.


Question 3: Recently we published a list of social media tools that will help save time.  What tools of the trade do you use throughout your typical day and how do they help?

Brent Csutoras: I am not normally a big fan of social media tools, as the majority of the ‘time saving’ tools are actually automation tools. I have tried hundreds and use almost none of them. There are some tools out there that offer information, such as the Digg Alerter and 97th Floor’s Social Media Firefox plugin, and EasyTweets, but all in all, I just don’t have much use for social media tools.



Question 4: I cannot help notice on Twitter how many people call themselves social media experts.  Are they just throwing the title around or are there really that many social media experts out there today?

Brent Csutoras: I think it again comes down to what you want to define social as, but there are always a lot of people who call themselves an expert, and seldom are they ever experts. I think the term expert is something that other people say about you and not something you should have to say about yourself.


Question 5: Some of our readers are up and coming social media experts.  What advice can you give them and how can they get that seal of approval of becoming an expert in the industry?

Brent Csutoras: If you really want to stand out and receive recognition for being an accomplished (expert is a pretty strong word) social media marketer, then you need to be involved in the conversation. You need to blog, network, attend conferences, get involved with the social community sites, and be a leader. I would also really recommend you read an old article I wrote that still applies today called “I know it is social, but STFU already!” and there is a whiteboard we did here.


Question 6: Currently what are the best websites for promoting via social media and why?

Brent Csutoras: It depends on your goal of course, but I would say Digg is still the best site out there for promoting content in social media. Of course, with it being one of the best sites, your content also has to be really good to reach the popular section of their site. StumbleUpon has really exploded and grown so dramatically this year and it is a little easier to promote more niche stuff since it is tag based. Twitter is a great platform for getting the message out as well. Those are the top sites right now for me.


Question 7: What kind of tips do you have in writing stories for Digg?

Brent Csutoras: The best tip I can give you is to really go the extra mile when creating content for social media. You need to be creative, interesting, comprehensive, and unique with the way you write your content. Success does not come from writing good content, it comes from writing great content at the right time. You need an angle for your content, yet still keep it general and viral in nature, so being involved in the community and the industry you are writing about will allow you to see the angles that will lead to success.

Use images and line breaks, to separate content and make it easier to digest. Don’t clutter your page with ads or other distractions, and most importantly… don’t try to convert the first wave of social media traffic that comes to your content.


Question 8: Give us one of your best kept secrets for marketing stories on Digg?

Brent Csutoras: Put all the tricks aside and spend your time making real connections. Those are the people that are going to give you the natural and diverse Diggs you need to be successful.


Question 9: I have seen stories go popular on Digg but voted down on Reddit.  What makes these two websites so different at times?

Brent Csutoras: First, it has a lot to do with the audience group. Reddit is not as main stream so its users are much more internet savvy and not so easily appeased with mediocre content. Like any site out there, you need to spend time on the site and learn what the overall community likes and dislikes. A lot of people use Reddit for social media marketing, but not as a real user, like they do on Digg.

Second, Reddit has some huge moderation problems that are better defined by reading Reddit’s Decline in Democracy,  which I wrote after going back and forth with Reddit’s cofounder Alexis for months attempting to suggest solutions and fix their moderation issues. The problem is that Reddit does not share the concerns and figures anyone with a complaint about the way it works is a spammer, in most cases.


Question 10: If you could improve one thing at each Digg, Reddit & StumbleUpon what would that be?

Brent Csutoras: Digg) There is a minor level of moderation at Digg that they should stop using. It is very clear that certain domains become penalized and never have a shot at the front page and sometimes content makes it into the Top 10 in Upcoming for over 12 hours and never goes popular. All in all, I am pretty happy with Digg though.

StumbleUpon) They need to allow you to flush all the pages in queue that were sent to you by your friends. They can add up and keep you from being able to Stumble completely new content.

Reddit) They need to take the power back from the handful of private subReddit admins who take up 50% of the front page of Reddit. They are not bound by any TOS and can moderate how they see fit, which has been proven to be very personal and not related to content submitted at times.


Question 11: What are some of the biggest mistakes that people make in social media marketing?

Brent Csutoras: Trying to spam and self promote their content without making an effort to participate in the community. Again, the same rules apply for fitting into a real social community offline. If you go in talking about me me me, no one will want to talk to you. So take the time to learn the community and become friends with its users before you attempt to promote your own content.


Question 12: We cannot ignore Twitter, it’s popularity is skyrocketing.  What advice do you have for companies that want to use Twitter to promote their business?

Brent Csutoras: If nothing else, register your name immediately to keep someone else from using your name to their benefit. Twitter is one of the fastest growing social media communities where it is ok to self promote, since your followers opt into seeing your messages. I would recommend having a real presence and not completely automating your account, but you have a great opportunity to get feedback, reach new customers, and get your message out through Twitter.


Question 13: You are one of the top social media experts in the world, who do you look up to and turn for advice in this field?

Brent Csutoras: Hah… There goes that expert word. I like what I do and I am passionate about social media, but there are many people way smarter than myself. Take Chris Winfield for instance, who is probably one of the smartest social media marketers I have met. He is constantly teaching me new things and pointing out angles I had never even thought of before. Same with Todd Malicoat who has a ton of affiliate and SEO background that helps change the way he approaches social media. Dave Snyder and Tony Adam are really breaking ground on how to measure success and use the feedback you get from your social campaigns to learn and improve. Greg Finn is my go to guy for social media content and what is going to be viral or not. The list goes on and on, and I am sure to have forgot some people.

I am honored just to be in an industry that is so new, exciting, and beneficial to online marketing in general.


Monday June, 29th
Posted by Ryan

No matter where you go on the net, you will hear the phrase, “Content is king”. Traffic is important of course, but what is keeping them on your page? What is the reason they come back? It isn’t the pretty graphics and cool little advertisements you have going on. What it all comes down to is the connection they feel with the subject, and the writer that is producing it.

Whether you are a website owner trying to provide higher quality content to your readers, or you are a content producer trying to gain new prospects through better quality, you can gain something from here. Long sentence, I know, but I had to incorporate everyone. Just keep in mind that you are here to learn, and you have to put your own spin on things to really become original. Anyone can copy and rewrite, but creating your own brand and personality is where the readership will follow.

So what’s the hold up? Get to the good stuff.

To start, you have to always keep your audience in mind. You need to engage the reader and make your content different from any other person that writes on the same topic. If the average reader is a certain age group, education level, or has a certain level of experience, make sure to target them in your writing. Also, keep all of your writing consistent. Inconsistency will give your readers the impression that your organization skills are nonexistent and will encourage them to stop reading before the end.

You know who your readers are, so now you have to know what they are doing there. What is the point of your content? Seems like a simple question, but often times writers don’t really think about what their writing will do. Are you here to inform? Maybe you are reviewing and selling a product. Whatever the case may be, get into the readers mind set and give them what they want. If they came to you to find out the best casserole recipe, then by God at the end of it they better know which the best is. Inform when appropriate, sell when necessary, and always entertain. No matter how serious the subject material, make sure the reader feels connected to your views, and enjoyed what you had to say.

Now that you have the right mindset, it is time to get into how to write. Try to use bold words when necessary, italicize to emphasize certain parts, and underline accordingly. These action points can increase readers attention, and create a better flow overall. Don’t overdo it! Like anything in life, a little taste can be good, but too much can really put off the average reader.

It’s time to become a real life person.

Hopefully you have a personality at this point in your life. If not, I can sell you one for $24.99, plus shipping and handling. Too steep a price? Alright, I will let you in on a little taste for free. Giving your writing personality is as easy as adding your two cents where appropriate. You don’t always have to have something witty and humorous to say. Just say something that tells the reader, “OK, this is a real person writing this”.

Let’s say you have to write about an acne product. The target audience is in their late teens, early twenties. Desperate for a solution to their problem, they happen upon your website. They already know what the product is supposed to do, how it does it, and what they can expect from purchasing it. Simply stating those facts will have the reader running for true insight. Here is where you have to add a little personal touch.

If you are trying to keep it as professional as possible, avoid a story and state a simple fact that has improved your life. “Other so called acne solutions have always left skin peeling, red glaring examples of their inability to work on my face. With so and so product, no redness or irritation occurred, and I could vibe out to the latest club banger without fear of being seen“. This will create an instant connection to you and the material.

As long as you are capable of coming across with some kind of personal insight, people will instinctively listen to what you have to say. Add some flare, make a joke, and give some personal enlightenment that you recently achieved. Continue to sharpen your writing skills and you will soon have no problem keeping the audience happy.

Tuesday June, 9th
Posted by Nathan

AJAX was, and remains, the hottest buzzword in web development. This will continue to hold true for the foreseeable future, and for good reason; sites which use it are pretty slick. Yet the acronym, which stands for Asynchronous JavaScript and XML, continues to be misused and misplaced. Have you made one of these all-too-common mistakes?

1) I Need an AJAX Guru to Code an AJAX Website

Any proficient JavaScript coder can use AJAX. The fact of the matter is, every function of an AJAX powered site is standard JavaScript. An AJAX site simply uses XmlHttpRequest() to send and receive server requests. In fact the acronym itself, while catchy, is an all-around misnomer. The techniques commonly thought of as AJAX require neither the returned data to be XML, nor the requests to be asynchronous (although they can be both).

2) AJAX is New

AJAX, the acronym, is new. The term was coined in 2005. The technology behind AJAX is not new. JavaScript has been part of the Internet since the 1990s. A method to request data through JavaScript has been in browsers as early as IE5.

3) AJAX Powered Websites are Fast

Properly implemented, AJAX can make site navigation much faster for the end-user. Having the browser refresh and render a page takes a lot of time. Preventing this, by requesting and updating only portions of the page, is very efficient. However, without a good implementation or proper infrastructure, AJAX can bring your server to a stand still with excess or unnecessary requests.

4) I need to add AJAX to my website to keep up with the times

Is this true? It depends entirely on your site. While sites from Google to Facebook use AJAX successfully, many others simply do not. If you decide that your site could benefit from AJAX, ideally a site with very dynamic content, design your implementation carefully. Keep in mind that your site must degrade properly if JavaScript isn’t available. Make sure key content remains linkable and accessible. Not only could you risk having frustrated users, you could give search bots nothing to see.

5) AJAX Will Replace Flash

While it’s true that Flash was once the buzzword that AJAX now is in web development circles, the idea that AJAX will replace completely flash is unfounded. While entirely flash based designs are becoming increasingly uncommon, flash still serves a purpose for many multimedia and graphical interface elements.

While AJAX has given many great possibilities in web development, consider the technology carefully before implementing it on your own site. Don’t break the likability, accessibility or navigation (back/forward buttons) of a site just to use AJAX. Use it where it is the most efficient way to make something work.

Tuesday June, 2nd
Posted by mdammann

Facebook can be fairly easy to use as a tool to increase your brand awareness.  Almost anyone can do it but it helps if you have some experience in networking.  It may take time for you to see results, but if you are persistent, you can acquire a nice following and you will soon be able to jump start numerous successful groups.

Facebook is very simple and allows you to separate friends by groups.  When you start a new group in three clicks you will be able to invite all of those friends most likely to be interested in what your new group is about.  Below are seven great tips on how to market your company using a Facebook Group.

1) Increase Your Friends

It’s pretty hard to tell people about your company if you have no one to tell.   Add at least 100 people you either know or would like to know.  Try and find people that will be interested in the group(s) you may start on Facebook.  It’s a waste of time to seek people out that don’t have similar interests.  Stay focused on adding friends that will want to interact in conversations that your interested in.  For example if you are trying to increase brand awareness for an organic foods company you will probably seek out people with healthy lifestyles and similar interests.

2) Starting a Group

When you start a group the first rule of thumb is the group needs to look full and alive.  Upload pictures, videos and start topics and discuss.  Get a few of your friends to help add to the discussion and post their own questions and content to keep the group going.

Ask a question here and there in the main body of the group and do not hesitate to link to articles on the bottom. The articles should link to informative websites in the industry or your own.  If you manage to write good content on your blog, this is the ideal place to promote new posts.

3) Quality Content

Now that you have a Facebook group started you need to keep quality content and a strong message.  People often join groups on Facebook but then rarely go back to interact with the group.  They may read what’s going on but the reason why they don’t come back, is the lack of quality content.  If you keep the producing quality content, others will see what is going on and this will bring in new members.

4) Moderate Your Group

Do not bombard the members with senseless newsletters or spam.  Someone we know sends out a monthly newsletter that is nothing more than a recap of his blog.  (lame)  Why would I want the information twice?  Wait for something newsworthy or create “how to” articles that people will enjoy and get value out of.   When you create this quality content you can often slip in some mentions of your brand.

5) Networking with Moderators of Larger Groups

Networking with the owners of the biggest groups in your niche or a similar niche can really add value.  If you can do anything of cross promotional together it can help both groups grow, especially the smaller group.  Doing so often can take time to establish a quality relationship with such moderators but you will often get out what you put in.

6) Quality Conversations

Have quality conversations. When a friend has some post you can get in on, then do not hesitate to shine with knowledge, input, and opinion or a questions. You cannot be shy. You need to let them realize that you are a qualified and knowledgeable person and people will be interested in joining your groups and checking out your site.

7) Be Social & Tell Everyone About Your Group(s)

Tell friends about your group, in fact tell anyone who might be interested.  Some of the best ways are to invite people via Facebook and use Twitter to tell others about your group.  A group will really grow when friends from all angles meet.  I always say, once those you know are connecting there and start bringing in fresh blood, your group or community is going to be on autopilot and you will not be needed unless you decide to come in and add something that you believe is going to shine the limelight on your network.

Wednesday May, 27th
Posted by Ryan

I know everyone in their mother has a list of good FireFox add-ons but I would like to share the top 7 FireFox Add-ons that we use here at McKremie.com.  We deal with DNS issues, mutliple websites, and other issues and these add-ons really save us tons of time.  We all have our favorites and these are in no puticulare order.  This list complments the social media tools that will make life easier, if you haven’t checked them out have a look.

1) ShowIP

https://addons.mozilla.org/en-US/firefox/addon/590

Show the IP address(es) of the current page in the status bar. It also allows querying custom information services by IP (right mouse button) and hostname (left mouse button), like whois, netcraft. Additionally you can copy the IP address to the clipboard.  This is very helpful for anyone that works with DNS issues or SEO.  It is by far the most effient way to get the websites IP address without having to run a look-up.

2) SEO ToolBar by SEO Book

http://tools.seobook.com/seo-toolbar/

SEO for Firefox pulls in many useful marketing data points to make it easy get a holistic view of the competitive landscape of a market directly in the search results.  Inlcudes information about Google PageRank, website age pulled from Archive.org, Yahoo! linkdomain information, number of times a URL has been bookmarked on Del.icio.us, Technorati information, ALexa Information, directory listings and whois information. 

3) Domain Details

https://addons.mozilla.org/en-US/firefox/addon/2166

This one overlaps with a few of the others but has some great functions.  Displays Server Type, Headers, IP Address, Location Flag, and links to Whois Reports.

4) Screengrab

https://addons.mozilla.org/en-US/firefox/addon/1146

It will capture what you can see in the window, the entire page, just a selection, a particular frame, basically it saves webpages as images – either to a file, or to the clipboard.  This add-on will save you so much time if you don’t have it you are really missing out.  With this add-on you can grab screenshots or pictures within secounds.

5) Social Media for Firefox

URL: https://addons.mozilla.org/en-US/firefox/addon/7888

Social Media for Firefox shows the number of Diggs, Reddit Votes, Stumble Thumbs and or Reviews, and Del.icio.us tags, Tweets, Sphinns, Mixx, and Tip’d votes so you can quickly see how popular certain content is. It can also scan said social sites to show you what content hasn’t been submitted to other social news sites so you can be the first to add it.  This can be a great tool and help you save time on Digg and Reddit.

6) Update Scanner

https://addons.mozilla.org/en-US/firefox/addon/3362

Monitors web pages for updates. Useful for websites that don’t provide Atom or RSS feeds. This tool is great for following compeditors and catching when a website changes their homepage.
You can select how often each site will be scanned and minor changes can be ignored, like date, time and whatnot.

7) User Agent Switcher

https://addons.mozilla.org/en-US/firefox/addon/59

Adds a menu and a toolbar button to switch the user agent of the browser.  View the current page as in a different browser (IE, Opera, NetScape). This comes in handy when you want to check for Cross Browser Compatibility issues.

Friday May, 22nd
Posted by Nathan

An intro to CAPTCHAs

Captcha is an acronym for Completely Automated Public Turing test to tell Computers and Humans Apart. You’ll likely recognize them as Security Images, a series of random letters or numbers, which you have to enter when sending data on most websites. This verifies that you are a human, and not a robot entering data automatically, such as a spam bot.

Captchas aren’t perfect; a spammer can still solve a captcha manually, and software may be created to solve specific captchas to varying degrees of success, but they are still essential for modern websites. They help to dramatically reduce spam and false form entries. Fortunately, it’s relatively easy to make a unique captcha with PHP and GD.

Designing a Captcha

GD is a powerful graphics library for PHP. Good hosting providers will have this library installed by default. To start off we’ll want to create an image based on a background that provides some interference for optical character reading (OCR) software, but not enough to cause difficulty for humans. The following 4 backgrounds will be used in this example:

Secondly, a unique truetype font (TTF) should be chosen. Although this tutorial will use a simple sans-serif font, feel free to look for something more interesting.

Finally, a character set must be chosen. Some prefer a combination of letter and numbers, or each individually. Either way, characters that resemble others should be avoided.

Once you have these key elements chosen, you’ll want the script to generate and display a random string which will be saved in a session. The displayed string should be altered to make it more difficult for software to recognize the characters.

Putting it Together

With your captcha planned, it’s time to put it into code. The following will begin to create your image from a random PNG background, as well as setup variables such as the font and security string:

ob_start();
session_start();

$im = ImageCreateFromPNG(mt_rand(1, 4).”.png”);

$chars = array(’a’,’b’,’c’,’d’,’e’,’f’,’g’,’h’,’i’,’j’,’k’,’m’,’n’,’p’,’q’,’r’,’t’,’u’,’v’,’w’,’x’,’y’,’z’,’2?,’3?,’4?,’6?,’7?,’8?,’9?);
$str1 = $chars[mt_rand(0, count($chars)-1)];
$str2 = $chars[mt_rand(0, count($chars)-1)];
$str3 = $chars[mt_rand(0, count($chars)-1)];
$str4 = $chars[mt_rand(0, count($chars)-1)];

$font = “font.ttf”;
$size = mt_rand(13, 16);

$_SESSION['captcha'] = $str1.$str2.$str3.$str4;

The code below is slightly more complicated, as it outputs the text at a random angle, and slightly different positions/colors. You’ll likely want to play with the output parameters.

$angle = mt_rand(-5, 5);
$color = ImageColorAllocate($im, mt_rand(0, 100), mt_rand(0, 100), mt_rand(0, 100));
$textsize = imagettfbbox($size, $angle, $font, $textstr);
$twidth = abs($textsize[2]-$textsize[0]);
$theight = abs($textsize[5]-$textsize[3]);
$x = mt_rand(5, 10);
$y = mt_rand(15,18);
ImageTTFText($im, $size, $angle, $x, $y, $color, $font, $str1);
ImageTTFText($im, $size, $angle, $x+mt_rand(20, 25), $y+mt_rand(1, 3), $color, $font, $str2);
ImageTTFText($im, $size, $angle, $x+mt_rand(45, 50), $y+mt_rand(1, 3), $color, $font, $str3);
ImageTTFText($im, $size, $angle, $x+mt_rand(65, 70), $y+mt_rand(1, 3), $color, $font, $str4);

Finally, we’ll have the following code output our finalized image.

header(”Content-Type: image/png”);
ImagePNG($im);
ob_end_flush();
imagedestroy($im);

Integrating The Final Product

The code above should output something like the following (refresh to see another):

The text in the captcha is stored in a PHP session. This can be accessed in your scripts using the global variable $_SESSION['captcha']. Be sure to call session_start(); at the start of your script first.

Further Considerations/References

To strengthen your captcha further, look into some of the many functions GD has: GD Reference. A great place to find many free fonts is UrbanFonts.com or DaFont.com

Feel free to use the code above as you see fit. It has been released as GPL v2 as part of an open source project that I worked on. The background images are also free to use, however I would recommend creating your own.

Many web hosting companies have hidden secrets that they don’t want you to know. These secrets are marketing gimmicks and in some cases very deceptive ways to get your money. Be careful as these secrets can end up costing you lots of money.  To help prevent that we have uncovered and shown you what to look for.

7. Free Domains

WOW, a free domain sounds great doesn’t it? Guess what some web host don’t want you to know? Actually, there are a few different tactics going on:

1) The domain is free but you don’t own the domain they web hosting company owns it. Do you know what that means? Yep, you are stuck either hosting with them forever or you have to pay them what is equivalent to a ransom just to get your domain in your name.

2) The first year was free and now when you go to renew it each year they often charge $24.95+ for renewal. That’s like a 250% mark-up over what the average coast of a dot com domain name usually cost.

Now all web hosts are like this and it’s best to ask questions in the pre-sales process to find out who owns the domain name and how much do their renewal fees costs.

6. Web Hosting Review

Web Sites Web hosting review web sites are created for the sole purpose of making affiliate income. Often times the reviews in these web sites are fake and created by the owners of the review website. It is no conscience that the highest paying affiliate offers have the best reviews and somehow make it to the top positions. As an actually web hosting company we have been told by numerous review web sites that we could get to the top of their list if we pay them the high affiliate payouts.

Web hosting review web sites dominate the search engines including Google. Often times you can find that more than half the web sites in the top ten of a hosting search are not a hosting company, but a review website. Why? Well, the web hosting industry has some of the highest affiliate commission payout’s around and some of the top tier review web sites receive up to $150.00 per affiliate sign up.

5. Unlimited Storage

Unlimited Storage sounds great doesn’t it? That’s what *most* web hosting companies want you to think. The real truth of the matter is that there really isn’t a thing as Unlimited Storage. Sure, storage cost have dropped significantly in the past few years but Unlimited Storage is a marketing gimmick that many people fall for.

Here is how web hosting companies get around it. Have you ever read the complete Terms of Service of your web hosting company? If you are like most people, you browse it, but don’t completely read it all. Buried in the TOS you will find a section that mentions Server/CPU Usage. To sum most of them up it basically says if your web hosting account uses more than “X%” of the servers CPU Usage your account then violates the TOS and is subject to termination.

Now, it’s important for just about every shared web hosting company to have something like this in their TOS to protect other accounts on their servers due to improper coding and whatnot. However, many web host are using the Server/CPU Usage to get out of offering the Unlimited Storage they promise in their marketing.

4. 100% Uptime Claims

Great, you have found a web host that has a 100% Uptime Guarantee but what does that really mean? Do you actually get your money back if the web host is not up?

Uptime Guarantees are a huge marketing gimmick and the consequences for the web host are generally so minor. In order to get a full refund for a months worth of web hosting, your website would have had to of been down for a week. The truth is most customer will never notice if there website was down for a few hours and out of those that actually notice only a small fraction will ever ask for some sort of credit.

Plus keep in mind what generally isn’t included are things like; Acts of God, Server Maintenance, Wars or any other natural or unnatural events. What is an “any other natural or unnatural event”? Your guess is good as our but as we read that in many of the TOS it makes us think, any can mean anything. (blame the lawyers)

Wait that’s not all, are you ready for the kicker? The real kicker is that many of the uptime policies are only valid for Network Uptime. Network Uptime means the entire network of web servers your web hosts has. So if you happen to be on the one server that isn’t working properly the Network Uptime Guarantee probably won’t apply.

3. 24/7 Email Support

Have you dealt with web hosting companies that claim to offer 24/7 email support but often don’t reply to your initial tickets for 8+ hours? And we are talking about a human reply and not some automated message saying they will get to your ticket. There is a reason many web hosting companies don’t offer 24/7 phone and email support. They can not deliver! So instead they offer their so-called 24/7 email support.

Let’s be honest, how are you going to know if they are actually working or sleeping? You won’t and often times many of the budget or small web hosting companies won’t reply to your tickets in the middle of the night. Occasionally, some web host can only get to your support requests after the company owner gets home from his day job.

We are not saying all web hosts are like this and a good way to check is to find out where the company is located and send them a support request in the middle of the night, their time. You should be able to get a human response back within an hour or two at most. If the response take longer then you might be dealing with a one main operation that will probably come up short on your support needs.

2. Testimonials

Sure testimonials can provide great information about a web host but can you trust them? Do you really think a web hosting company would put up testimonials that were bad for them? If a web host has testimonials on their website you will only find two kids:

1) Ones they made up to make you think they are great.

2) Ones they hand picked to make them look good.

Either way is this really helpful information? No way! If you really want to find out how a web host is doing try using Google or Twitter to search for independent reviews.

1. Web Hosting Awards

Web hosting awards are very much like the Review Web Sites. Actually, most of the web hosting awards come from review web sites. Want to learn why?

Review web sites only make money when they can get traffic from PPC or Search Engines. One of the ways they get their high rankings in the search engines is because of all the links they get. By creating web hosting awards they get links from the companies they give the awards to. Many of the award images are links that point back to the hosting review website. To a web hosting review website this is an easy way to obtain links. Some are even devious to write the code where the image will not display unless the link is intact.

Monday May, 11th
Posted by Nathan

mod_rewrite is a powerful URL Rewriting Engine for the Apache web server. Although available in varying forms in other server software, this post will focus on the Apache rewriting engine.

What is URL Rewriting?

In short, mod_rewrite allows for a the server to respond in a specific way based on conditions met by the URL. This allows for many possibilities, including the creation of user friendly URL schemes for your dynamic scripts.

For example, if you have a PHP article script which requires an article id in the URL, this would typically be accomplished by:

http://example.com/news.php?id=2

However, mod_rewrite can turn that URL into the following:

http://example.com/news/2/news-article-title

The rewritten URL is much more meaningful to users and search engines. The URL is far more memorable without the php extension and id request. The article title provides search engines with more keywords, which can help with your search ranking. These benefits become even more apparent as more complicated URLs are rewritten into friendlier forms.

Getting Started

mod_rewrite is used by adding rules and conditions to a file named .htaccess in a site’s directory. The rewrite engine must first be turned on. Open or create a .htaccess file and add the following:

RewriteEngine on

A basic URL rewrite can be performed by adding a Rewrite Rule, formatted as follows:

RewriteRule pattern substitution [flags]

The pattern is a regular expression (regex), matched to the current URL. The substitution is the replacement or change made to the pattern matched URL. Flags are optional arguments which modify the way the rewrite engine acts.

To implement the rewrite example above, the following code is used:

RewriteEngine on
RewriteRule ^/news/([0-9]+)/(.+)(/)$ /news.php?id=$1 [L]

The pattern is started with ^, and ends with $. The brackets represent groups, the first matches any number of digits, the second matches any number of characters, followed by an optional trailing slash. The substitution tells the server to fetch news.php, with an id of the first group in the pattern, $1. The L flag tells the rewrite engine that this is the last rewrite to be performed.

Conditional Rewriting

To further expand control over the rewrite engine, Rewrite Conditions can be set. These allow for conditions to be matched before a Rewrite Rule is to be executed. The following syntax is used:

RewriteCond TestString CondPattern

The TestString can be one of a number of system variables, such as the current referrer or browser user agent. The CondPattern is again a regular expression, which will be matched against the TestString. A useful application to a rewrite condition is to check if files or images are being hotlinked.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?example.com/.*$ [NC]
RewriteRule ^\.(gif|jpg|png|bmp)$ http://example.com/donothotlink.jpg [R,L]

The conditions check if there is no referrer, or if it is from a different site. If one of those conditions are met, the rule checks if the file being accessed is an image. If so, the user is redirected (using the R flag) to an image explaining that the requested image was hotlinked.

Other Possibilities

Some common uses of mod_rewrite include; redirecting to another page based on browser user agent, moving a site to another domain, forcing the addition or removal of www. on your domain, etc.

Although mod_rewrite can be difficult to learn and master, the possibilities are endless.

Further Reading and References

Official Apache mod_rewrite Documentation
Added Bytes mod_rewrite Cheat Sheet