<? session_start();
//$url= $_REQUEST['url'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Welcome to My SQL Database Installation</title>
<meta charset="utf-8">
<!-- Viewport configuration, scaling options -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<!-- Font Awesome icon -->
<link href="../fontawesome/css/fontawesome.css" rel="stylesheet" />
<link href="../css/icouponworld.css" rel="stylesheet">
<!-- Roboto font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!--TopBar Begin-->
<div class="bg-primary p-3">
<div class="container-fluid">
<div class="row">
<h5 class="text-center text-white p-0 m-0">My SQL Database Installation</h5>
</div>
</div>
</div>
<!--TopBar End-->
<section class="py-5">
<div class="container">
<div class="row">
<div class="col-md-8 mx-auto">
<div class="alert alert-secondary mb-4" role="alert">
<!--form Begin-->
<form action="./forms/create_project.php" method="post" enctype="multipart/formdata">
<div class="mb-3">
<label for="dbhost" class="form-label">DB_HOST</label>
<input type="text" class="form-control" name="db_host" id="dbhost" placeholder="localhost" maxlength="20" required>
</div>
<div class="mb-3">
<label for="dbname" class="form-label">DB_NAME</label>
<input type="text" class="form-control" name="db_name" id="dbname" placeholder="Type database name" maxlength="30" required>
</div>
<div class="mb-3">
<label for="username" class="form-label">DB_USER</label>
<input type="text" class="form-control" name="db_username" id="username" placeholder="Type user name" maxlength="30" required>
</div>
<div class="mb-3">
<label for="password" class="form-label">DB_PASSWORD</label>
<input type="password" class="form-control" name="db_password" id="password" placeholder="*********" maxlength="20">
</div>
<input type="submit" class="btn btn-primary " value="Save">
<!-- <a href="" class="btn btn-primary">Download</a> -->
</form>
<!--form End-->
<!-- check profile created -->
<?
if (isset($_SESSION["failed"])){
?>
<div class="alert alert-danger">
<strong>Failed!</strong> Database credentials are not correct
</div>
<?
unset($_SESSION["failed"]);
}
?>
<!-- check profile created -->
</div>
<!--alert Begin-->
<div class="alert alert-warning mb-4" role="alert">
<div class="mb-3">
<p class="mb-2"><strong class="text-uppercase">Important Message : </strong> Before process MYSQL connection. You have to create MYSQL connection by any Linux hosting(godaddy,bigrock,rackspace. etc)provider.</p>
<p class="mb-2">Keep safe all MYSQL DB credentials in notepad editor. You have to put same credentials on this web page.</p>
<p class="mb-2"><strong ><a target="_blank" class="text-danger" href="https://www.youtube.com/watch?v=APXBMjiLLWs">How to Create MySQL Database in GoDaddy cPanel ?</a> </strong> </p>
</div>
<div>
<strong class="text-uppercase">Note : </strong>
<br>
<ul>
<li>MY SQL Database file avaliable on download zip folder.</li>
<li><strong class="text-uppercase">DB_NAME:</strong> database name</li>
<li><strong class="text-uppercase">DB_USER:</strong> database user</li>
<li><strong class="text-uppercase">DB_PASSWORD:</strong> database password</li>
</ul>
</div>
</div>
<!--alert End-->
</div>
</div>
</div>
</section>
</body>
</html>