Script Random Number Generator Website



Script Random Number Generator Website

Script Random Number Generator Website - Hello 3xploi7er.. pada kali ini kami akan membagikan sebuah script Random Number Generator Website. Ada yang sudah tau tentang random number ini ? Ya biasanya random number ini digunakan untuk mengadakan sebuah Giveaway / hadiah Yang diselenggarakan baik individu atau kelompok. 

Kenapa sih menggunakan random number ? Dalam setiap giveaway itu berbeda beda caranya tergantung penyelenggara. dalam giveaway random number ini, Peserta disuruh menulis komen misalkan angka 1 - 300. Lalu penyelenggara mengadakan Pengocokan di Random Number ini.
Nah jika keluar angka dari random number dan itu adalah anda berarti anda berhasil mendapatkan give away.

Script ini bekerja sama persis seperti random.org Tetapi script ini kelihatan lebih rapih karena menggunakan CSS Boostrap dan PHP

Cara Menggunakan :
1. Copy script
2. Login Cpanel
3. Create new file
4. paste script
5. Save
6. Run

Script Random Number Generator Website 
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href="http://safelink.farizrifqi.id/random/favicon.ico">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>Random Number Generator</title>
    <!-- Bootstrap -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
<center>
<div class="container" style="position: center;">
<h1 style="text-align:center;">Tools Generate <small>Random Number</small></h1>
<div class="row">
  <div class="col-lg-6">
<div class="panel panel-primary" style="width:60%;">
  <div class="panel-heading">Random Number Generator</div>
  <div class="panel-body" style="text-align:left;">
<form action="" method="POST">
<div class="input-group">
<label>Min: </label>
<input type="text" name="min" value="1" class="form-control"/><br/><br/>
</div><div class="input-group">
<label>Max: </label>
<input type="text" name="max" value="300" class="form-control"/><br/>
</div><br/>
<input type="submit" class="btn btn-default" name="submit" value="Generate Now!"/>
</form>  </div>
</div>
</div>
  <div class="col-lg-6">
<?php
if (isset($_POST['submit'])){
?>
<div class="panel panel-success" style="width:90%;">
  <div class="panel-heading">Result:</div>
  <div class="panel-body" style="text-align:left;"><center>
<?php echo "<h1>".mt_rand($_POST['min'], $_POST['max'])."</h1>"; ?>
</center>
</div>
</div>
<?php
}else{
?>
<div class="panel panel-default" style="width:90%;">
  <div class="panel-heading">Result:</div>
  <div class="panel-body">
<p>Generate please....</p>
</div>
</div>
<?php
}?>


</div>
</div>
<br/><br/>
<pre style="position:bottom">Copyright 2017 - Powered by <a href="http://php.net">PHP.net</a> & <a href="http://getbootstrap.com">Bootstrap</a></pre>
</div>
</center>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>  </body>
</html>






Top Link
• Line Mod Terbaru => Here
• Penyedia Hosting Terbaik => Here
Previous
Next Post »
Thanks for your comment