Tag Archives: php

How to Detect Language for a String in PHP

For me it happens pretty other to have to validate if a text string is in English or to detect the language. Most of the algorithms are based on the probability of appearance of sequences of letters. For example the sequence of letters “the” is more frequent in English than… Read more »

How To Show Different Content For Google Spider

Before applying this technique you should be aware that Google does not recommend to do it at all. They say that sites presenting googlebot different information that to the human eye from the SEO purposes will be penalized. However, there are some cases when you might want to hide certain… Read more »