-5
我搜索stackoverflow.com我的问题,我发现这个答案与mine.the问题是我不知道如何验证码沿应用到我的asp.net mvc的网站获得蒸汽市场最低价格?
<?php
$string = file_get_contents('http://steamcommunity.com/market/listings/730/AK-47%20|%20Vulcan%20%28Battle-Scarred%29');
$attrList = explode('<span class="market_listing_price market_listing_price_with_fee">',$string);
$N=count($attrList);
for ($i=1;$i<$N;$i++){
$prices[$i-1] = explode('</span>',$attrList[$i])[0];
}
print_r($prices);
?>
您想将PHP代码应用到ASP.NET网站吗? – TZHX
是的,我想在asp.net网站上进行这项工作@TZHX – fgocken
您了解PHP代码吗? – TZHX