如何以PHP或其他语言获取网页的所有页面? [英] How to get All Pages of Website in php or other language?

查看:90
本文介绍了如何以PHP或其他语言获取网页的所有页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
我想得到包含网站的所有页面。

什么是php中的代码

我使用了file_get_contents($ value); php函数

但是无法获得正确的信息。

告诉我怎么样?



感谢先进。

如果你找到了

给我发邮件

*************
*************

这两个都是我的身份。

解决方案
值); php函数

但是无法获得正确的信息。

告诉我怎么样?



感谢先进。

如果你找到了

给我发邮件

*************
*************

这两个都是我的身份。


你不能,除了抓取整个网站。

Google可能会提供帮助:在PHP中编写网站抓取工具 [ ^ ]但不要指望它是微不足道的。


hi i want to get all pages of containing website.
what is code in php
i used file_get_contents($value); php function
but cant get proper info.
tell me how?

thanks in advanced.
if you found
mail me
*************
*************
both is my id.

解决方案

value); php function
but cant get proper info.
tell me how?

thanks in advanced.
if you found
mail me
*************
*************
both is my id.


You can't, except by crawling the entire site.
Google may help: write site crawler in php[^] but don't expect it to be trivial.


这篇关于如何以PHP或其他语言获取网页的所有页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆