<?php $url=$_GET['url']; $u=get_headers($url,1); if($u[location]==''){ echo '该页面无跳转!'; }else{ echo $u[location]; } ?>