Skip to content

Instantly share code, notes, and snippets.

View mukesh4601's full-sized avatar
🎯
Focusing

Mukesh Bhardwaj mukesh4601

🎯
Focusing
View GitHub Profile
@mukesh4601
mukesh4601 / Html5
Created July 22, 2017 04:51
Get IP Address, Browser Name,Date, Time, Region,Country name, State Name, Current Date & Time.
<?php
function get_client_ip() {
$ipaddress = '';
if (isset($_SERVER['HTTP_CLIENT_IP']))
$ipaddress = $_SERVER['HTTP_CLIENT_IP'];
else if(isset($_SERVER['HTTP_X_FORWARDED_FOR']))
$ipaddress = $_SERVER['HTTP_X_FORWARDED_FOR'];
else if(isset($_SERVER['HTTP_X_FORWARDED']))
$ipaddress = $_SERVER['HTTP_X_FORWARDED'];
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee>This is basic example of marquee</marquee>
<marquee behavior="alternate">The direction of text will be from bottom to top.</marquee>
</body>
</html>