ニュー速運用情報 THE END

このエントリーをはてなブックマークに追加
296動け動けウゴウゴ2ちゃんねる
<?php
$hostname_BeDB = '112.78.124.204';
$database_BeDB = 'be';
$username_BeDB = 'be';
$password_BeDB = 'bepass123';
$be_hostname = 'be.2ch.net';
$magic = 'aghmoergoewrmhguaiw';

function get_prof($user_id){
$randdata = mt_rand(2, 9);
$randdata2 = mt_rand(2, 9);

//print $randdata .$randdata2;

$xxx = $user_id * $randdata * $randdata2 * 3 + 5;
$xxx = $xxx + $randdata2;
$xxx = $xxx - $randdata;

$xxx .= $randdata . $randdata2;
return $xxx;

}

function get_orig($user_id){
$randdata = substr($user_id, -2, 1);
$randdata2 = substr($user_id, -1);
$origin = substr($user_id, 0, -2);
$origin = $origin + $randdata - $randdata2;
$origin = $origin -5;
$origin = $origin / $randdata / $randdata2 / 3;

return $origin;
}

function get_icon(){

ob_start();

$ch = curl_init("http://img.2ch.net/cgi-bin/checkdir.cgi");

//curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);

curl_exec($ch);
curl_close($ch);
$buff = ob_get_contents();
ob_end_clean();

return $buff;
}


?>