The following warnings occurred:
Warning [2] getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed - Line: 88 - File: inc/plugins/favcons.php PHP 7.3.7 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/plugins/favcons.php 88 getimagesize
/inc/class_plugins.php 142 favcons_insert
/global.php 1138 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] getimagesize(): Failed to enable crypto - Line: 88 - File: inc/plugins/favcons.php PHP 7.3.7 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/plugins/favcons.php 88 getimagesize
/inc/class_plugins.php 142 favcons_insert
/global.php 1138 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] getimagesize(https://domainsrock.in/support/images/drindia-officials-logo-circle-x368px.png): failed to open stream: operation failed - Line: 88 - File: inc/plugins/favcons.php PHP 7.3.7 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/plugins/favcons.php 88 getimagesize
/inc/class_plugins.php 142 favcons_insert
/global.php 1138 pluginSystem->run_hooks
/showthread.php 28 require_once





Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Title: What Is My IP With Geolocation - PHP Script
Thread Modes
#1
A PHP script that shows the visitors IP address and Google maps location. To use the Google maps Geolocation you need to obtain a Google maps API key.
--> Click Here to Get Google API Key

The script can be used without google maps you just need to delete the api key from the text file.
This script can be added to any webpage!

Features - Displays the following Information about the Client that Visits Your Website
+ IP-Address
+ Hostname
+ Country code and the Country name
+ Region code and the Region name
+ City
+ Zip-Code
+ Timezone
+ Latitude
+ Longitude
+ Metrocode
+ Google maps Geolocation
Responsive Format, It will auto adjust it's size According to it's Parent div. Object Oriented Programming

Requirements
+ PHP 5.6
+ Google maps API Key (only if you want to display the Geolocation)


Instructions for Installation
+ Unzip the file
+ Copy the files to the root folder of your website
+ Add the following lines to the Web-Page where You want to Display the Information
    include the initialization file at the top of the file
    include the CSS file in the head section of the file
    Finally include the main script file in the div you want to be Displayed.


Attached Files
.zip   What Is My IP With Geolocation.zip (Size: 16.22 KB / Downloads: 0)
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)