@ 2015-09-26T01:35:08Z <?php
$subject = '
<![CDATA[
Xxx-AV 22194 春奈 フルHD パイパンモデルの中出しレッスン個人撮影会で生性交 PART.2<br /> 春奈<br /> 公開日: 2015-09-20<br /> 再生時間: 00:50:44<br /> サイズ: 1990MB<br /> カテゴリ: AV女優<br /> ジャンル:<br /> キーワード: ドキュメント 美乳 スレンダー 美尻 美脚 その他コスプレ 生挿入 中出し ローター 電気あんま器 完全無修正<br /> <br /> <a href="http://www.imgbabes.com/8csqmlfikk7z/movie_main.jpg.html" target="_blank" class="externalLink" rel="nofollow"><img src="http://t1.imgbabes.com/i/00638/8csqmlfikk7z_t.jpg" class="bbCodeImage LbImage" alt="[​IMG]" data-url="http://t1.imgbabes.com/i/00638/8csqmlfikk7z_t.jpg" /></a> <a href="http://www.imgbabes.com/rzcvbduyy3ah/xox0024_01.jpeg.html" target="_blank" class="externalLink" rel="nofollow"><img src="http://t1.imgbabes.com/i/00638/rzcvbduyy3ah_t.jpg" class="bbCodeImage LbImage" alt="[​IMG]" data-url="http://t1.imgbabes.com/i/00638/rzcvbduyy3ah_t.jpg" /></a>...<br /> <br /> <a href="https://www.akiba-online.com/threads/hd-1-85g-xxx-av-22194-furuhd-paipanmoderunoshiressunde-part-2.1571604/" class="internalLink">[HD/1.85G] Xxx-AV 22194 春奈 フルHD パイパンモデルの中出しレッスン個人撮影会で生性交 PART.2</a>
]]>
';
$content = $subject;
$theurl = check_pic($subject);//---------------------------------------------------
//echo $theurl;
//echo $theurl['url'];
echo '<br />';
echo '<br />';
//echo $theurl['picurl'];
//echo $theurl['picurl'];
echo $theurl['content'];
// myTest('http://c2.staticflickr.com/8/7334/8974569552_450a8e790a_n.jpg');
//$content = str_replace($matches[0][0],$url,$subject);
//echo $content;
function check_pic($subject)
{
$pattern = '/(?<=<a href=\")(.*?)(?=\" target)/'; //[^dailyjav]
$result = preg_match_all( $pattern, $subject , $matches );
// echo $result; //匹配數
//echo '<br />';
//echo $matches[0][0];
if ($result) {
$url= get_pic($matches[0][0]);
// get_pic($matches[0][1]);
// get_pic($matches[0][2]);
//echo $matches[0][0].'hihi';
//global $content;
$url2= get_pic($matches[0][1]);
$url3= get_pic($matches[0][2]);
// get_pic($matches[0][1]);
$content = str_replace($matches[0][0],$url,$subject);
$content = str_replace($matches[0][1],$url2,$content);
$content = str_replace($matches[0][2],$url3,$content);
// $content = str_replace($matches[0][2],$url,$subject);
//echo $matches[0][0];
echo $url.' 1<br />';
echo $url2.' 2<br />';
echo $url3.' 3<br />';
//存圖
// grab_image($url,'image.jpg');
}
//return $url;
return array('picurl' => $url, 'content' => $content);
}
//
function get_pic($the_pic_link)
{
$the_source = file_get_contents($the_pic_link);
//$pattern = '/(http:\/\/imgdream.net\/images\/)(.*?)(.jpg)/';
if (strpos($the_pic_link,'imgdream') !== false) {
$pattern = '/(http:\/\/(www\.)?imgdream\.net\/images\/)(.*?)(.jpg)/';
$matchme = 0;
}
elseif (strpos($the_pic_link,'img-365.com') !== false) {
$pattern = '/(http:\/\/(www\.)?img-365\.com\/images\/)(.*?)(.jpg)/';
$matchme = 1;
}
elseif (strpos($the_pic_link,'daily-img.com') !== false) {
$pattern = '/(http:\/\/(www\.)?daily-img.com\/images\/)(.*?)(.jpg)/';
$matchme = 1;
}
elseif (strpos($the_pic_link,'pixroute.com') !== false) {
$pattern = '/(http:\/\/(www\.)?)(.*?)(\.jp(e)?g)(?=\")/';
$matchme = 1;
}
elseif (strpos($the_pic_link,'imgdream.net') !== false) {
$pattern = '/((http:\/\/(www\.)?imgdream\.net\/)?images\/)(.*?)(.jp(e)?g)(?=\")/';
$matchme = 0;
}
elseif (strpos($the_pic_link,'imgserve.net') !== false) {
$pattern = '/(http:\/\/(www\.)?)(.*?)(\.jpeg)/';
$matchme = 0;
}
elseif (strpos($the_pic_link,'imgmega.com') !== false) {
$pattern = '/(http:\/\/(www\.)?)(.*?)(.jpg)(?=\")/';
$para = array(
'op' => urlencode('view'),
// 'id' => urlencode('r1a5kgl05pwu'), //----------------------ID代表一張圖!
'pre' => urlencode('1'),
'next' => urlencode('Continue to image'),
);
$the_source = pic_post($the_pic_link,$para);
$matchme = 0;
}
elseif (strpos($the_pic_link,'imgbabes.com') !== false) {
$pattern = '/(http:\/\/(t1\.)?)(.*?)(.jp(e)?g)(?=\")/';
$matchme = 0;
$url=$the_pic_link;
$ch=curl_init();
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_HEADER,false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_COOKIE, "denial=93a7a7e8b5af9f19a6df5e9850f8a64a;");
//Cookie: aff=7949; _ga=GA1.2.1147186056.1442133451; denial=93a7a7e8b5af9f19a6df5e9850f8a64a
// curl_setopt($ch, CURLOPT_COOKIEJAR, 'tmpfile.txt');
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
$the_source = $temp=curl_exec($ch);
//echo $the_source;
//htmlspecialchars($the_source);
curl_close($ch);
//------------------
//affiliate_redirect();
//----------------
}
elseif (strpos($the_pic_link,'imageteam.org') !== false) {
$pattern = '/(http:\/\/(www\.)?)(.*?)(.jpeg)/';
$matchme = 0;
}
elseif (strpos($the_pic_link,'erimge.com') !== false) {
$pattern = '/(http:\/\/(www\.)?erimge\.com\/)(.*?)(.jpg)/';
$para = array(
'imgContinue' => urlencode('Continue to image'),
);
$the_source = pic_post($the_pic_link,$para);
$matchme = 0;
}
elseif (strpos($the_pic_link,'imgbb.net') !== false) {
$pattern = '/(http:\/\/(www\.)?)(.*?)(.jp(e)?g)/';
$para = array(
'imgContinue' => urlencode('Continue to image'),
);
//op=view&id=2vnhpseirols&pre=1&next=Continue+to+image...
//imgContinue=Continue+to+image+...+
$the_source = pic_post($the_pic_link,$para);
$matchme = 0;
}
else
{
$pattern = '/(http:\/\/(www\.)?)(.*?)(.jpg)/';
$matchme = 0;
}
$success = preg_match_all($pattern, $the_source, $match);
if ($success) {
// echo '<img src="'.$match[0][$matchme].'" border=\"0\" alt=\"\" \/>';
// echo '<br />';
$url=$match[0][$matchme];
//echo '<br />';
//echo $url.'<br/>';
// echo '<br />'.$url.'hihi';
}
return $url;
} //function get pic
function affiliate_redirect() {
// it's possible to use 'if( !empty( $_GET['affid']) )'
if( isset($_GET['cookie']) && '' != $_GET['cookie'] ) {
if( empty($_COOKIE['cookie']) )
setcookie('denial', 'denial=93a7a7e8b5af9f19a6df5e9850f8a64a', time()+2592000, '/');
header('Location: '.$url);
exit;
}
}
function myTest($url)
{
$image_url = $url;
$ch = curl_init();
$timeout = 0;
curl_setopt ($ch, CURLOPT_URL, $image_url);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
// Getting binary data
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
$image = curl_exec($ch);
curl_close($ch);
// output to browser
header("Content-type: image/jpeg");
print $image;
}
//------------------------------------------------------------------------pic_post()
function pic_post($theposturl,$para)
{
$url = $theposturl;
$fields = $para;
$fields_string='';
//url-ify the data for the POST
foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; }
rtrim($fields_string, '&');
//open connection
//$ch = curl_init();
$ch = curl_init();
//set the url, number of POST vars, POST data
curl_setopt($ch,CURLOPT_URL, $url);
curl_setopt($ch,CURLOPT_POST, count($fields));
curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
//execute post
$result = curl_exec($ch);
//close connection
curl_close($ch);
return $result;
}
//------------------------------------------------------------------------pic_post()
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 7.3.12 0.000 0.017 15.38 7.3.11 0.010 0.007 15.42 7.3.10 0.003 0.013 15.27 7.3.9 0.006 0.009 15.05 7.3.8 0.000 0.012 15.66 7.3.7 0.004 0.007 15.01 7.3.6 0.003 0.006 15.39 7.3.5 0.004 0.008 15.01 7.3.4 0.004 0.011 15.36 7.3.3 0.009 0.006 15.19 7.3.2 0.012 0.003 17.17 7.3.1 0.008 0.008 16.71 7.3.0 0.004 0.009 17.12 7.2.24 0.008 0.008 15.39 7.2.23 0.006 0.010 15.66 7.2.22 0.006 0.010 15.38 7.2.21 0.006 0.009 15.19 7.2.20 0.006 0.009 15.26 7.2.19 0.006 0.009 15.32 7.2.18 0.007 0.011 15.46 7.2.17 0.000 0.018 15.41 7.2.16 0.009 0.006 15.59 7.2.15 0.007 0.011 17.36 7.2.14 0.004 0.008 17.29 7.2.13 0.007 0.007 17.26 7.2.12 0.004 0.012 17.05 7.2.11 0.007 0.010 17.22 7.2.10 0.014 0.003 17.47 7.2.9 0.011 0.000 17.46 7.2.8 0.009 0.006 17.43 7.2.7 0.006 0.010 17.41 7.2.6 0.009 0.007 17.19 7.2.5 0.004 0.007 17.37 7.2.4 0.006 0.010 17.35 7.2.3 0.010 0.007 17.05 7.2.2 0.003 0.010 17.46 7.2.1 0.000 0.015 17.43 7.2.0 0.009 0.009 18.67 7.1.33 0.003 0.014 16.03 7.1.32 0.004 0.011 16.20 7.1.31 0.006 0.009 16.17 7.1.30 0.009 0.006 16.21 7.1.29 0.010 0.003 16.21 7.1.28 0.010 0.003 16.20 7.1.27 0.007 0.011 16.19 7.1.26 0.004 0.011 16.18 7.1.25 0.007 0.007 16.35 7.1.20 0.003 0.010 15.86 7.1.10 0.004 0.008 18.56 7.1.7 0.005 0.005 17.77 7.1.6 0.006 0.019 19.13 7.1.5 0.007 0.018 17.62 7.1.0 0.003 0.093 22.60 7.0.20 0.009 0.003 17.38 7.0.8 0.033 0.080 20.50 7.0.7 0.017 0.053 20.40 7.0.6 0.040 0.097 20.38 7.0.5 0.030 0.090 20.75 7.0.4 0.013 0.080 20.54 7.0.3 0.003 0.097 20.43 7.0.2 0.010 0.043 20.41 7.0.1 0.003 0.073 20.54 7.0.0 0.003 0.060 20.57 5.6.28 0.010 0.070 21.61 5.6.23 0.007 0.093 21.11 5.6.22 0.013 0.077 20.98 5.6.21 0.017 0.073 21.20 5.6.20 0.020 0.067 21.43 5.6.19 0.010 0.077 21.64 5.6.18 0.017 0.047 21.30 5.6.17 0.013 0.073 21.30 5.6.16 0.000 0.047 21.41 5.6.15 0.010 0.073 21.50 5.6.14 0.013 0.080 21.54 5.6.13 0.010 0.093 21.27 5.6.12 0.013 0.080 21.57 5.6.11 0.003 0.087 21.51 5.6.10 0.003 0.067 21.34 5.6.9 0.013 0.077 21.46 5.6.8 0.017 0.073 20.89 5.6.7 0.003 0.047 21.01 5.6.6 0.010 0.077 20.72 5.6.5 0.013 0.040 20.90 5.6.4 0.003 0.077 20.99 5.6.3 0.007 0.080 20.75 5.6.2 0.010 0.087 20.89 5.6.1 0.007 0.057 20.78 5.6.0 0.020 0.050 20.97 5.5.37 0.010 0.083 20.94 5.5.36 0.007 0.083 21.02 5.5.35 0.013 0.080 20.85 5.5.34 0.000 0.077 21.35 5.5.33 0.003 0.083 21.34 5.5.32 0.017 0.073 21.28 5.5.31 0.010 0.043 21.38 5.5.30 0.010 0.077 21.23 5.5.29 0.010 0.080 21.30 5.5.28 0.010 0.070 21.30 5.5.27 0.003 0.067 21.01 5.5.26 0.010 0.080 21.31 5.5.25 0.010 0.067 21.14 5.5.24 0.003 0.047 20.60 5.5.23 0.013 0.080 20.40 5.5.22 0.007 0.087 20.57 5.5.21 0.017 0.073 20.70 5.5.20 0.007 0.077 20.66 5.5.19 0.007 0.073 20.57 5.5.18 0.010 0.077 20.63 5.5.16 0.020 0.060 20.64 5.5.15 0.010 0.070 20.70 5.5.14 0.010 0.067 20.57 5.5.13 0.010 0.073 20.44 5.5.12 0.013 0.060 20.42 5.5.11 0.013 0.073 20.73 5.5.10 0.010 0.047 20.40 5.5.9 0.007 0.043 20.34 5.5.8 0.010 0.050 20.49 5.5.7 0.013 0.063 20.48 5.5.6 0.010 0.070 20.48 5.5.5 0.007 0.040 20.57 5.5.4 0.007 0.047 20.45 5.5.3 0.003 0.080 20.45 5.5.2 0.003 0.063 20.38 5.5.1 0.007 0.080 20.54 5.5.0 0.017 0.057 20.54 5.4.45 0.010 0.070 19.72 5.4.44 0.007 0.080 19.73 5.4.43 0.003 0.040 19.79 5.4.42 0.010 0.047 19.90 5.4.41 0.017 0.067 19.51 5.4.40 0.007 0.043 19.37 5.4.39 0.010 0.080 19.57 5.4.38 0.013 0.037 19.60 5.4.37 0.003 0.087 19.50 5.4.36 0.003 0.080 19.30 5.4.35 0.007 0.043 19.33 5.4.34 0.020 0.047 19.40 5.4.32 0.007 0.080 19.57 5.4.31 0.010 0.060 19.30 5.4.30 0.010 0.047 19.26 5.4.29 0.003 0.040 19.27 5.4.28 0.003 0.047 19.35 5.4.27 0.000 0.060 19.35 5.4.26 0.007 0.077 19.47 5.4.25 0.007 0.043 19.34 5.4.24 0.010 0.063 19.16 5.4.23 0.010 0.073 19.57 5.4.22 0.010 0.067 19.38 5.4.21 0.007 0.070 19.48 5.4.20 0.013 0.047 19.38 5.4.19 0.007 0.067 19.37 5.4.18 0.007 0.067 19.43 5.4.17 0.007 0.037 19.25 5.4.16 0.007 0.073 19.59 5.4.15 0.003 0.070 19.42 5.4.14 0.007 0.077 16.73 5.4.13 0.013 0.067 16.84 5.4.12 0.007 0.070 16.81 5.4.11 0.013 0.070 16.82 5.4.10 0.007 0.063 16.62 5.4.9 0.010 0.063 16.70 5.4.8 0.000 0.077 16.82 5.4.7 0.010 0.070 16.77 5.4.6 0.017 0.040 16.81 5.4.5 0.010 0.067 16.77 5.4.4 0.010 0.070 16.80 5.4.3 0.023 0.067 16.66 5.4.2 0.007 0.070 16.77 5.4.1 0.020 0.060 16.77 5.4.0 0.003 0.063 16.17
preferences:dark mode live preview
34.84 ms | 400 KiB | 5 Q