是否可以使用wget从网页上下载PHP脚本? [英] Is it possible to download PHP script from a web page with wget?

查看:362
本文介绍了是否可以使用wget从网页上下载PHP脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我尝试wget <url>,它将下载已解决的页面.但是我想下载原始脚本.这可能吗?

If I try wget <url> it downloads the resolved page. But I want to download the original script. Is this possible?

推荐答案

不,谢谢你.服务器完全控制它如何响应您的HTTP请求.

No, and thank goodness for that. The server is completely in control of how it responds to your HTTP requests.

严格来说,您一开始就无法确定它的另一端是否是PHP.

Strictly speaking, you can't tell whether it's PHP on the other end of the wire in the first place.

这篇关于是否可以使用wget从网页上下载PHP脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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