Location: PHPKode > projects > phpMyPrepaid > phpmyprepaid/scrape/solo9.php
<html>
<head>



</head>
<BODY>



<?php

$number=1;
$sec=2592000;
$min= ($sec/60);
include('../../../dbconnect.php');


	 
	for ($i=0;$i < $number;$i++)
        	{
        	for ($j=0;$j<1;$j++) // ------> CLEAN ME
                {

	
	 
	$consts='bcdgklmnprst';
        $vowels='aeiou';
	$num= (mt_rand(5, 15));
	for ($x=0; $x < 6; $x++) {
		$const[$x] = substr($consts,mt_rand(0,strlen($consts)-1),1);
                $vow[$x] = substr($vowels,mt_rand(0,strlen($vowels)-1),1);
	}
	$ID = ($const[0] . $vow[0] .$const[2] . $const[1] . $vow[1] . $const[3] . $num);

	 
	$consts='bcdgklmnprst';
	$vowels='aeiou';

	for ($x=0; $x < 6; $x++) {
	 
		$const[$x] = substr($consts,mt_rand(0,strlen($consts)-1),1);
		$vow[$x] = substr($vowels,mt_rand(0,strlen($vowels)-1),1);
	}
	$PASS = ($const[0] . $vow[0] .$const[2] . $const[1] . $vow[1] . $const[3] . $vow[3] . $const[4]);
	$UserPass[$ID] = $PASS;	

	}
}
	 
foreach($UserPass as $id => $pass ) {
	$q0= "INSERT INTO radcheck (UserName , Attribute, op, Value) VALUES('$id','User-Password',':=','$pass')";
	$insert0 = mysql_query($q0) or die(mysql_error());
	$q1= "INSERT INTO radcheck (UserName , Attribute, op, Value) VALUES('$id','Simultaneous-Use',':=','1')";
	$insert1 = mysql_query($q1) or die(mysql_error());
	$q2= "INSERT INTO radcheck (UserName , Attribute, op, Value) VALUES('$id','Max-All-Session',':=','$sec')";
	$insert2 = mysql_query($q2) or die(mysql_error());
 
	 
$cards ="MyPrepaid/cards.csv";
$fp =fopen($cards, "w");



 
}

 
?>

<center><br><br><img src="http://topup.ie/banner.png">

<h2>Welcome to Swarm HotSpots</h2>
One months high speed Internet access for Euro 12.99.
To use Swarm Hotspots you must be in the vicinity of one of our transmitters.
Thank you for your purchase. <br><br><?php echo "Your User Name is $id" ?><br><?php echo "Your password is $pass"; ?><br><br>
Please take note of your user name and password. If you loose your details contact hide@address.com <br><br><a href "http://afakeaddress.com"> Return to Login Screen</a><center>

</body>
</html>
Return current item: phpMyPrepaid