set_time_limit(0);
mysql_connect("localhost","root","");
mysql_select_Db("music_36g");
$ip = '127.0.0.1';
함수 _GetIP()
{
$ip = getenv("REMOTE_ADDR");
$ip1 = getenv("HTTP_X_FORWARDED_FOR");
$ip2 = getenv("HTTP_CLIENT_IP");
($ip1) ? $ip = $ip1 : null ;
($ip2) ? $ip = $ip2 : null ;
$ip를 반환합니다.
}
함수 MakePassword($length=10)
{
$password = '';
$chars =
배열
(
"1","2","3","4","5","6","7 ","8"," 9","0",
"a","A","b","B","c","C","d","D","e","E", "f","F","g","G","h","H","i","I","j","J",
"k","K" ,"l","L","m","M","n","N","o","O","p","P","q","Q"," r","R","s","S","t","T",
"u","U","v","V","w","W", "x","X","y","Y","z","Z"
);
$count = count($chars) - 1;
srand((double)microtime()*1000000);
for($i = 0; $i < $length; $i )
{
$password .= $chars[rand(0, $count)];
}
return($password);
}
if ( _GetIP() != $ip )
{
exit("실행할 수 없습니다!");
}
( $i=2;$i<5769;$i )//52738
{
$url = "http://music.36g.net/SpecialInfo/showspecial" .$i.".htm";
$File = @fopen($url,'rb');
if ( $File )
{
$makeFile = $buffer = "";
$buffer = "";
while ($buffer = fread($File,4096))
{
$makeFile = $makeFile.$buffer;
}
@fclose($File);
if ( $pic[1]!='es/Nophoto.gif' )
if ($ File2)
{
$ buffer2 = $ Makefile2 = "" ";
While ($ buffer2 = FREAD ($File2,4096))
~ > / '.$pic[1];
> 🎜> | ㅋㅋㅋ>
preg_match("/Album: (.*)