仅仅通过修改HTML和CSS代码就可以将文件上传到网站上吗?

时间:2022-11-19 09:58:52

I'm trying to upload a file to a website, so I can download it later from another location. Is there a way to do this solely by modifying the HTML/CSS code of the website?

我正在尝试上传一个文件到一个网站,所以我可以从另一个地方下载它。是否有一种方法可以仅仅通过修改网站的HTML/CSS代码来实现这一点?

3 个解决方案

#1


7  

No. Neither HTML nor CSS are programming languages (meaning they allow you to interact with the server and its files) and, if it were allowed, anyone could upload files to a site's server.

不。HTML和CSS都不是编程语言(这意味着它们允许您与服务器及其文件进行交互),如果允许,任何人都可以将文件上传到站点的服务器上。

#2


5  

Yes. You just need to modify the HTML/CSS code of the website.

是的。你只需要修改网站的HTML/CSS代码。

#3


0  

html and css are markup language or language that render/format the website depending on the designers wishes, that being said, it is possible for anyone to modify the two for any website as one wishes hence for security purposes i dont think its possible to use them only to upload a a file to a server, u will need a backend scripting language to do that such as PHP or ASP among others

html和css网站标记语言或语言,呈现/格式取决于设计师的愿望,也就是说,任何人都有可能为任何网站修改两个如意因此为了安全目的我不认为它可以使用它们只上传一个文件到服务器,你将需要一个后端脚本语言,例如PHP和ASP

#1


7  

No. Neither HTML nor CSS are programming languages (meaning they allow you to interact with the server and its files) and, if it were allowed, anyone could upload files to a site's server.

不。HTML和CSS都不是编程语言(这意味着它们允许您与服务器及其文件进行交互),如果允许,任何人都可以将文件上传到站点的服务器上。

#2


5  

Yes. You just need to modify the HTML/CSS code of the website.

是的。你只需要修改网站的HTML/CSS代码。

#3


0  

html and css are markup language or language that render/format the website depending on the designers wishes, that being said, it is possible for anyone to modify the two for any website as one wishes hence for security purposes i dont think its possible to use them only to upload a a file to a server, u will need a backend scripting language to do that such as PHP or ASP among others

html和css网站标记语言或语言,呈现/格式取决于设计师的愿望,也就是说,任何人都有可能为任何网站修改两个如意因此为了安全目的我不认为它可以使用它们只上传一个文件到服务器,你将需要一个后端脚本语言,例如PHP和ASP