PHP Script Random Url/Link/Page
$lbsrandom = [
'http://www.google.com',
'http://www.facebook.com',
'http://www.youtube.com'
];
$size = count($lbsrandom);
$randomlbs = rand(0, $size - 1);
$randomurl = $lbsrandom[$randomlbs];
header('Location: ' . $randomurl, true, 303);
?>
or you can see on Click Here
0 comments:
Post a Comment