ページ番号  1 |  2 |  3 |  4 |  5 |  6 |  7 |  8 |  9 |  10

ランダムジャンプ用phpスクリプト

URL:http://bit.ly/hAuiKD
テキストファイルのアドレスをランダムに選択してリダイレクトするphpです。
※「url.txt」が存在しない場合はエラーになります。
<?php
 $list = @file("url.txt");
 $link = rtrim($list[array_rand($list)]);
 header("Location:$link");
?>
ランダムジャンプ[Amazon]

リダイレクト (HTTP) - wikipedia


ページ番号  1 |  2 |  3 |  4 |  5 |  6 |  7 |  8 |  9 |  10