Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
welcome.blade.php Back End Product Laravel 7
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Server is Running</title>
<h1>It works!</h1>
<p><em><font size="1">This is the default web page for this server.</font></em></p>
<p><em><font size="1">The web server software is running but no content has been added, yet.</font></em></p>
<p><em><font size="1">This page exist to show that network connection is worked.</font></em></p>
if (!empty($_SERVER["HTTP_CLIENT_IP"])) {
//check for ip from share internet
} elseif (!empty($_SERVER["HTTP_X_FORWARDED_FOR"])) {
// Check for the Proxy User
} else {
<font size="1">
echo "Hostname : " . gethostname() . "<br />";
echo "Your IP is : " . $ip;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.