Posts tagged with 'php'

  • Migrate a WordPress site from Alibaba Cloud SAS to ECS

    Terms like “Cloud Computing“, “Cloud Server“, “Virtual Machine” or “Database” could be daunting for someone who is just starting. This is why I completely understand the people who are having a hard time deciding whether or not create a blog or e-commerce site. Even if you’re not an IT expert and have never created a cloud server before, Alibaba Cloud SAS (Simple Application Server) is the perfect choice for you. According to Alibaba Cloud, Simple Application Server is a new generation computing service for stand-alone application scenarios. It provides one-click application deployment and supports all-in-one services such as domain name resolution, website publishing, security, O&M, and application management. This optimizes the user experience of setting up a simple application and makes it easier for entry-level users to use cloud computing products.

  • Testing the new Alibaba Cloud 6th Gen ECS Instances

    As part of being an Alibaba Cloud MVP Diamond, I get to test from time to time new products from this cloud provider for free, which is a really nice thing to have. In this occasion, thanks to some vouchers I got from the team in Hangzhou, I had the chance to play, for free, with the newest 6th Generation of their ECS Instances.

  • Dynamic IP, Home NAS and Alibaba Cloud API

    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 the documents, photos and files in general stored in it. It just made sense for me.

  • Alibaba Cloud PHP and AB Benchmarking

    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 terms of Cloud Computing. I used several services in the past, from DreamHost to 1&1 and from AWS to DigitalOcean. So far, Alibaba Cloud (阿里云) is the only one that suits my needs.

  • Country detection via PHP

    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 could ask the visitor to change the current site to the most appropriate one regarding to the visitors origin. The problem with this solution is that the user needs to load the content twice, and is not a very good experience.

  • How to create a Template in WordPress without FTP Access

    You want to create a Template in your theme, and somehow you don’t have FTP access in that moment. But, hey, you have the WordPress logins to enter in the backend, so… stay tuned!

  • Script to make paged online tests with jQuery and Bootstrap

    Ok, you want know if you are a positive or negative person. Or maybe you want to know if your death is close. Or you just want a personality test. Anyway, you are here because you need to build an online test to see results. Here you’ll learn how to write a paged testing system with jQuery.

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

    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

    PHP logoOne 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

    PHP logoThere are situations in wich 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

    PHP logoUsually 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-place with this PHP code:

  • 301 Variable Redirection with PHP

    PHP logoYesterday 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 mine, that code it is not sufficient, and we must make a different redirection for each URL request.

  • 301 Redirection with PHP

    PHP logoSometimes 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 longer exists.

  • Cómo montar un servidor web DIY

    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 casa, y si no podemos conseguir uno por menos de 30€ en eBay.