Tag: PHP


How to get visitors country from their IP in PHP ?

In this way we can get visitors information from IP like (Latitude, Longitude, Continent Name, Country Name, City Name, Currency Symbol, Currency Code, Time zone). Source Code

July 2, 2020

Read More

PHP mail with attachment

Introduction Mail function is a php global function. mail() use to send emails quickly and easily. PHP mail with attachment

March 6, 2020

Read More

Encryption and decryption in PHP

Encryption and decryption in PHP This is function is tested for high-security level coding in a very long time. Our we share our encrydecry function for helping your developers to create a 100% secure coding environment. For encryption some value For decryption some encrypted value

November 25, 2019

Read More

PHP MySQLi Prepared Statement

In this article we want to help developers to learn and improve there skills in php & Also Securely access mysql database and query.

November 23, 2019

Read More

How to use PHP htaccess file

Just create a file with .htaccess file in your website folder. For Redirect website http://example.com to http://www.example.com RewriteEngine OnRewriteCond %{HTTP_HOST} !^www. [NC]RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] For Redirect website http://example.com to https://www.example.com RewriteEngine OnRewriteCond %{HTTP_HOST} !^www.RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L] When you have to redirect the website non HTTP to HTTPS protocol after installing an SSL certificate […]

October 16, 2019

Read More