【发布时间】:2014-03-24 19:03:33
【问题描述】:
从远程主机中提取捕获的 iframe 代码。
<div class="ad-title">
<span class="pointer" onclick="window.open('surfv.php?view=surfer&f=1&t=f97e5cec351c254254c290577e6a&p=78r254sfsv46s224&u=1','_blank');">Link1 Name</span>
</div>
<p class="adimg"><img src="http://domain.com/banner_7.png" style="max-height:50px; max-width:200px;;border:0px;"/></p>
<div class="ad-content">
<table cellpadding="5" width="100%"><tr>
<td valign="top"><span style="font-family: Verdana, Sans-serif; font-size:13px; ">Add title</span></td>
</tr>
</table>
</div>
赚
$
0.0005
我已经捕获了远程 iframe 并阅读了代码。
$homepage = file_get_contents('http://remotehost.com/iframe.php');
echo $homepage;
?>
代码摘录如上所示
我要抓拍
surfv.php?view=surfer&f=1&t=f97e5cec351c254254c290577e6a&p=78r254sfsv46s224&u=1
Link1 名称 $0.0005
从此框架中,并将它们按以下格式放入新表中。 新链接=`http://mywebsite.com/surfv.php?view=surfer&f=1&t=f97e5cec351c254254c290577e6a&p=78r254sfsv46s224&u=1
NewLink Title= Link1 Name
Price= $0.0005
--------------
感谢帮助`
【问题讨论】: