日期:2014-05-17 浏览次数:20489 次
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNjM0NjcwNTY5DxYCHgdzZWxUaW1lBRMyMDEzLTAxLTA2IDIyOjAwOjAwFgJmD2QWAgIDD2QWCAIHDzwrAAoBAA8WAh4CU0QWAQYAgJDZdLnPiGRkAgkPEGRkFgFmZAILDxBkZBYBZmQCPQ9kFghmDw8WAh4EVGV4dAUa5YWN6LS5IGlQaG9uZSDova/ku7bmjpLlkI1kZAIBDw8WAh8CBRQoMjAxMy0wMS0wNiAyMuaXtu+8iWRkAgIPEGRkFgFmZAIDD2QWGAIBDw9kFgIeBXN0eWxlBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAgMPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAgUPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAgcPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAgkPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAgsPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAg0PD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAg8PD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAhEPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAhMPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAhUPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAhcPD2QWAh8DBRN2aXNpYmlsaXR5OnZpc2libGU7ZGQcFwRrWowABf9DTpetIN8L2PcEzex9N//hvpdD6iDFyA==" />
</div>
$s=<<<html
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNjM0NjcwNTY5DxYCHgdzZWxUaW1lBRMyMDEzLTAxLTA2IDIyOjAwOjAwFgJmD2QWAgIDD2QWCAIHDzwrAAoBAA8WAh4CU0QWAQYAgJDZdLnPiGRkAgkPEGRkFgFmZAILDxBkZBYBZmQCPQ9kFghmDw8WAh4EVGV4dAUa5YWN6LS5IGlQaG9uZSDova/ku7bmjpLlkI1kZAIBDw8WAh8CBRQoMjAxMy0wMS0wNiAyMuaXtu+8iWRkAgIPEGRkFgFmZAIDD2QWGAIBDw9kFgIeBXN0eWxlBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAgMPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAgUPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAgcPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAgkPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAgsPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAg0PD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAg8PD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAhEPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAhMPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAhUPD2QWAh8DBRJ2aXNpYmlsaXR5OmhpZGRlbjtkAhcPD2QWAh8DBRN2aXNpYmlsaXR5OnZpc2libGU7ZGQcFwRrWowABf9DTpetIN8L2PcEzex9N//hvpdD6iDFyA==" />
</div>
html;
preg_match_all('/value="(.*)"/isU',$s,$m);
print_r($m[1]);