Free CDN for your files with dotmaui.com

There are several reasons why a CDN could benefit your website. All of these reasons are all well explained in this article, needless to repeat. That’s why we’ve been thinking of offering our registered users…

Capture a screenshot of a site easily with .Maui APIs

The .Maui APIs offer a Free URL to Screenshot API Service. The service is damn simple, here’s an example in Python: import urllib.parse import urllib.request page_url = “https://api.dotmaui.com/” image_name = “apidotmauicom.png” params = urllib.parse.urlencode({‘apikey’: ‘YOUR_API_KEY’,…

PHP: Some strings comparison functions

PHP is a very popular language for the development of Web sites. In our opinion, however, PHP has several gaps, including the lack of some strings comparison functions. Here are the three useful functions that,…

MySql Update with Inner Join

If you need to run an UPDATE in MySql on some rows in a table, but the reference of the condition to use is in another table, the best solution is to use an UPDATE…

Extract numbers from a string with php

Often, you only need to extract numbers from a string. PHP makes life easy with the filter_var function used with FILTER_SANITIZE_NUMBER_INT. That’s how: <?php $string = ‘Sambuca has about 40 degrees’; $only_numbers = filter_var($string ,…