Navigation :
HomeSource code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links
Site Sponsors :
- Load Cells
- mothers day replica rolex watches today
- Free partition data recovery utilities
- MySQL & Best PHP Web Hosting + save 50%
Bookmark :
Links :
software directorywwwstores
domain names
Downloads :
Misc :
Webmaster ResourcesOnly PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming
Lottery number generator
Lottery number generator
<?
function lottery($maxn = "49",$maxb="6") {
srand((double) microtime() * 1000000);
while (1>0) {
$lottery[] = rand(1,$maxn);
$lottery = array_unique($lottery);
if (sizeof($lottery) == $maxb) break;
}
sort($lottery);
return implode(", ",$lottery);
}
$lotterynums = lottery();
?>
<html>
<head>
<title>Lottery Numbers</title>
</head>
<body>
<h1>And your lottery numbers for this week are...</h1><br>
<h3><?=$lotterynums?></h3><br>
</body>
</html>
Books :
Sponsors :
Random Code :
Better image resizing function(image)Display gravatars(Wordpress)
getservbyport function returns the name of the service that uses a specified port(functions)
Random Article :
ONLINE the eBay Accelerator Toolkit for PHP PHP AT for the PHP IDE Maguma Workbench is availablePHP On The Fly
Network:
Programming resourcesTutorials directory
Hosting resources
ASP site
Domain names
Progged
Maxi directory
bigarticle : free articles
A Code
Code N Tutorials
Del.icio.us
Digg
Furl
Newsvine
Netscape
Reddit
StumbleUpon
Technorati
Squidoo
Windows Live
Yahoo MyWeb
Ask
Google