Unverified Commit 35d8ecdb authored by matusrebros's avatar matusrebros
Browse files

deep link creator done

parent f7502770
define('MYSQL_HOST', 'localhost');
define('MYSQL_USER', '0p42ld3z');
define('MYSQL_PASSWORD', 'Zc04N5iwZ{');
define('MYSQL_DATABASE', '0p42ld3z');
define('SITE_URL', 'http://deep.dpmarketing.sk/'); //your website url i.e https://zatackcoder.com
if (isset($_POST['IgUsername']) and !empty($_POST['IgUsername'])) {
$IgUsername = $_POST['IgUsername'];
$MobileLink = "instagram://user?username=" . $IgUsername;
$DesktopLink = "https://www.instagram.com/" . $IgUsername;
function isMobile()
return preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"]);
if (isMobile()) {
header('Location: ' . $MobileLink);
} else {
header('Location: ' . $DesktopLink);
} else {
echo 'enter IG username koko';
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<form method="POST" action="deep.php">
<input type="text" name="IgUsername" placeholder="IG username" />
<input type="submit" value="Deep It" />
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment