Home Tags PHP Code

Tag: PHP Code

MySQL Database and PHP: Hypertext Preprocessor

PHP MySQL Connect to Database PDO

Below is a sample PHP code, that after configuration, can be used to connect to your database. <?php $DBType = "mysql"; $DBHost = "database-host"; $DBPort = "3306"; $DBEnco =...
IP Address

Visitor IP Address

This bellow PHP code help you get a real IP address visitors of your website. <?php function GetUserIP() { if(isset($_SERVER)) { $_SERVER = $_SERVER; $_SERVER = $_SERVER; } $client = @$_SERVER; $forward...
Google Translator