php

Dynamic IP, Home NAS and Alibaba Cloud API

9 minute read

When I got my NAS, I had clear that I wanted to access it from anywhere in the world, as I’m a person who loves travelling and from time to time I’ll need th...

Alibaba Cloud PHP and AB Benchmarking

4 minute read

As some of you may know, I recently moved all my services and infrastructure to Alibaba Cloud (阿里云), being this one of the best decisions I made in 2017 in t...

Country detection via PHP

1 minute read

Imagine a example.com with some example.com/es, example.com/fr with content related to each country. One solution is a javascript-based country detector that...

¿Qué hora es?, ¿qué color es?

1 minute read

Hoy os traigo algo interesante, aunque sea una chorrada como una casa. Pero bueno, para eso está el blog, ¿no?

Dinamize the content with PHP

less than 1 minute read

One way to do more dinamyc our pages, write less code and simplifying the architecture of the files is using PHP.

Insert a file with PHP

less than 1 minute read

There are situations in which we want to edit separately the content of a website instead to edit all in one file.

Auto-updating copyright year in footer with PHP

less than 1 minute read

Usually we visit some pages in which the year in the footer isn’t the current year. This recurrent problem can be easily solved replacing the current-year-pl...

301 Variable Redirection with PHP

less than 1 minute read

Yesterday I posted “301 REDIRECTION WITH PHP“, a mini how-to where I explained how to make a permanent redirection with PHP. But, if your case is similar to ...

301 Redirection with PHP

less than 1 minute read

Sometimes you might want to redirect your visitors to a new URL address. One reason you may want to do this is that the page they are trying to access no lon...

Cómo montar un servidor web DIY

3 minute read

Cada vez es más asequible y fácil montar un servidor casero en casa, ya que casi todos tenemos un viejo ordenador por el desván o tirado en una esquina de ca...