Home Tags PHP Code

Tag: PHP Code

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 =...

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...
Chernihiv
clear sky
9.9 ° C
9.9 °
9.9 °
80 %
2.4kmh
9 %
Thu
9 °
Fri
17 °
Sat
10 °
Sun
4 °
Mon
-0 °
Google Translator