Why do witches burn?

Because they’re made of wood, like bridges, and so float on water, like churches, very small rocks, gravy, and a duck.

Archive for the 'English Posts' Category

Translation SQL table and translation system

Le mardi, février 10th, 2009

This is a short, non-interesting article about a translation system. Nothing new or original here. I put here because my next article will use it and it’ll be a very long one. I a few month, I’m gonna talk a lot about translation. I’ve made many things about it, especially for automatic translations. Here, it’s […]

Read the rest of this entry »

List all 404 errors from a Apache server

Le lundi, janvier 26th, 2009

This is not the only solution to know if your website got dead links. For example, Awstats will tell you them too, but only from on site at the time. Also, online dead link finders are you friends, like W3C Link Checker. My solution works directly on the server, and also find the errors that […]

Read the rest of this entry »

Url rewriting is your friend

Le vendredi, novembre 28th, 2008

Url rewriting, is to have a link to a webpage that a human can read, and a search engine can interpret as keywords. Many blogs use this, they use the title of the post in the url. Example : Good: http://toto.com/articles/eat-creme-brulee.html Bad: http://toto.com/2007/article.php?id=684 You english reader may not care about this, but the main problem […]

Read the rest of this entry »

Even in PHP 5, this old security params is activated by default, and I hate it. It’s Magic Quote. When this flag is On, then vars in cookies, from a form or a url, are automatically « escaped ». It means that backslashes are added before some special characters. Primary: the simple quote. Example : my script […]

Read the rest of this entry »

The 1468456th PHP class that overloads mysql

Le vendredi, août 15th, 2008

My first code is totally uninteresting for real developers, but I will use this class often in my next scripts, so you need to know a little about this class. Plus, it’s certainly a rip-off of PHP 5 mysql class, but well, I still use 4. It still can do a few good things. Good […]

Read the rest of this entry »

English version

Le lundi, juillet 28th, 2008

English blog, opened ! And it’s post number 42, which is cool. My blog needed an english version, because I put my scripts here, and it would be too sad if only french people used them. I won’t translate my others posts thought, for the most part because I’m lazy. Anticipate about one post every […]

Read the rest of this entry »