How to escape quotes, backslashes or special characters in SQL or PHP
It is usually a case to enter special characters in SQL right?, but don't worry! I have prepared this special article about introducing rare characters in SQL, where I explain…
It is usually a case to enter special characters in SQL right?, but don't worry! I have prepared this special article about introducing rare characters in SQL, where I explain…
With the following PHP snippet you can generate simple and secure passwords (without coding). Specifically, I am going to show you one. php function so you can reuse the code…
The following php function allows you to securely encrypt passwordsthus preventing them from being read or decrypted by reading them from the database or from the application itself. I recommend…
With the following PHP function you can calculate the distance between two locations knowing their latitudes and longitudes. Its use is really useful if you are creating web applications with…
In PHP, if you want to delete a directory, for security, first you must delete all its contents, whether they are files or other directories. for this purpose you need…
with the following snippets of PHP you can transform any text strings into valid urls. Therefore, what the following function does is translate text characters, which are not allowed in…
with the following snippet PHP you can get the city of a user just using their IP. The snippet is a PHP function that you can incorporate into your helpers…
The next snippet php will help you to obtain the source code of any URL in text format let it happen This code is perfect for creating, for example, crawlers…
In this article I am going to show you how to launch a mailing in php using the API Mandrill. Comment, in case you didn't know, that With Mandrill's php…
In this article I am going to explain how to launch a file download using PHP with headers. With this functionality you will be able to avoid the typical direct…