PHP
PHP is the server side programming language used by a lot of developers around the globe. It is also a general purpose programming language.
How to query DNS records using PHP
How to query DNS records using PHP DNS records are meant to be stored on a DNS server, using these servers you can easily get specific DNS records for your own application, apply specific limits or the like. In my license degree I remembered making a similar cross-platform app that would debug a domain DNS
How to use PHP namespaces
PHP namespaces Before we dig in into namespaces, we have to understand what they are, and how they are used. A simple analogy can be made between PHP namespaces and a filesystem. They work quite the same and apply the same principle. Imagine the following directory structure:
1 2 3 4 5 6 7 8 9 |
/myLocalSpace /home foo.txt /work bar.txt |
Everything clear. You have a “foo.txt” file in the
Build multilanguage websites with gettext
Build multilanguage websites with gettext Have you ever tried to build a multilanguage website using php ? Whether you did it or not, you should know that this thing requires some thinking before you start coding. I will present you a very simple, fast and scalable solution for this. What is gettext ? Gettext is a
Getting title, excerpt, category outside loop in wordpress
Getting title, excerpt, category outside loop in wordpress When developing your own template, I found that in some cases it is best not relying on the wordpress loop for getting information related to a specific post in our database. In some case, we just need information for just one article, so its a hassle if
Let’s laugh a bit…
You all know how programming can be boring and time consuming sometimes, so why don’t we explore the fun part of it today ? I saw in the past an article about something like “the funniest comments in the code that you encountered” or something similar, and I told myself “hey, this could be a