服务端脚本 指南

发布时间 :2023-12-26 23:00:03 UTC      

ASP 和 PHP - 服务端脚本

HTML 文件可以包含文本、HTML 标签以及脚本。

服务器端脚本是对服务器行为的编程。这被称为服务器端脚本或服务器脚本。

客户端脚本是对浏览器行为的编程。(请参阅 JavaScript 初级教程)。

通常,当浏览器请求某个 HTML 文件时,服务器会返回此文件,但是假如此文件含有服务器端的脚本,那么在此 HTML 文件作为纯 HTML 被返回浏览器之前,首先会执行 HTML 文件中的脚本。

服务器脚本能做什么呢?

  • 动态地向 web 页面编辑、改变或添加任何的内容

  • 对由 HTML 表单提交的用户请求或数据进行响应

  • 访问数据或数据库,并向浏览器返回结果

  • 为不同的用户定制页面

  • 提高网页安全性,使您的网页代码不会通过浏览器被查看到

重要提醒: 由于脚本在服务器上执行,因此浏览器在不支持脚本的情况下就可以显示服务器端的文件!

ASP 和 PHP

在菜鸟教程,我们通过使用活动服务器页面(ASP)和超文本预处理器(PHP) 来演示服务器端的脚本编程。

如何学习ASP或PHP?

学习我们 完整的 ASP 教程, 或者我们 的 完整的 PHP 教程 。

Principles, Technologies, and Methods of Geographic Information Systems  102

In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress.