Now that you have your WordPress installed on your own server, you think that this is it. You think that you may concentrate on the tedious task of creating awesome content. Between you and me, this is definitely time-consuming but necessary! Don’t forget it! Sorry, but you have more work to do with your WordPress blog. In this blog post, I’ll focus on how to remove WordPress version from your blog to improve your blog security. Note that there are other issues to tackle to have a highly secured WordPress blog. I might write more about it; let me know if you want me to do so in the comments’ section. (more…)
How to show the the week date range in for any month ?
Like: 3november-9november ,10nov-16nov so on…
Following a question of Rajiv Kumar on Facebook, I’ve developed a first version of the php function below to get the first and last day of each week of a month. There are four parameters:
Few days back, I was looking for a way to clear the cache of a single page in TYPO3 version 6 with PHP. Desperate, I even tweeted about it expecting some clues but in vain… Finally, I got the answer while diving in the source code of TYPO3. The objective of this article is to provide an answer to my own tweet and thus avoiding you the pain. And yes, it will also act as a reminder for me. (more…)
Shuffle est un mot anglais qui signifie mélanger. En php, c’est aussi un mot-clé pour une fonction qui prend un tableau en entrée, mélange ses éléments et retourne TRUE en cas de succès et FALSE si une erreur survient.
Cette fonction est utile si vous souhaitez afficher aléatoirement des informations sur votre site web par exemple.