I’m now using this code that should detect properly most mobile brands:
/* Return TRUE if user is using mobile phone browser */
function ismobile(){
$useragent = $_SERVER['HTTP_USER_AGENT'];
// Standard vendor-model/version user agents
if (preg_match(‘/^((ACERlcatelUDIOVOXlackBerryDMricssonG\bGEotorolaOTECokiaanasonicCIAGEMAMSUNGECanyoendoHARPIEonyEricssonelitelit_mobile_TerminalsSM)[- ]?([^\/\s\_]+))(\/(\S+))?/’, $useragent)){
return true;
}else{
return false;
}
}
July 25, 2008
Detecting if user-agent corresponds to mobile phone
Importance Of SEO
Search Engine Optimization helps you broaden your market share. It results in huge savings on ad-spent using traditional channels of marketing.
SEO is a long term and a permanent answer to you traffic woes. Once a website has been optimized for search engines it can stay on the top for long periods of time. It helps you capture targeted traffic… people who are already looking for the product or service you offer. (more…)
SEO Beginner Mistakes
From my own personal experience, I know that every SEO Newbie is desperate to get his site quickly indexed and optimized. I want to share some of the basic seo mistakes that seo beginners perform. SEO Newbies will find this useful.
1. Content is King : No unique content. Content not updated regularly.
2. Using a wrong keyword for the title of your site.
3. Stuffing the meta keywords tag and the content of your website with too many keywords.
4. Usage of Doorway Pages or Page Cloaking. Cloaking is a black hat search engine optimization (SEO) technique in which the content presented to the search engine spider is different from that presented to the users browser. (more…)