Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/76.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Xenu链路检测器可以';在html代码中看不到url链接_Php_Html_Url_Xenu - Fatal编程技术网

Php Xenu链路检测器可以';在html代码中看不到url链接

Php Xenu链路检测器可以';在html代码中看不到url链接,php,html,url,xenu,Php,Html,Url,Xenu,我需要检查Xenu应用程序,查看我的www站点上的链接 在我的网站上有HTML代码 <img src="mysite/pictures.php?url=http://othersite.com/pic1.jpg"> <img src="mysite/pictures.php?url=http://othersite.com/pic2.jpg"> <img src="mysite/pictures.php?url=http://othersite.com/pic3.j

我需要检查Xenu应用程序,查看我的www站点上的链接

在我的网站上有HTML代码

<img src="mysite/pictures.php?url=http://othersite.com/pic1.jpg">
<img src="mysite/pictures.php?url=http://othersite.com/pic2.jpg">
<img src="mysite/pictures.php?url=http://othersite.com/pic3.jpg">

但Xenu无法检查图片是否存在。如何使用
pictures.php
中的一些脚本来实现它

例如,我需要检查参数
url中的链接=http://othersite.com/pic1.jpg
是一张JPG图片。
我无法更改HTML代码,因为它必须是常量。因此,我必须使用一些PHP脚本来实现这一点。

您有很多方法可以做到最好,因为我一直使用的是:-


可能是javascript中的某些内容?在html代码中,我得到了
<?php 
    include(simple_html_dom);
    $html=new simplehtmldom();
    $html->file_get_html('http://exampl.com');
     foreach($html->find(img)->src as $scr) {
     echo=strplace('mysite/pictures.php?url=','',$scr);
      }
    ?>