Server Side Scripting Guide
ASP and PHP - Server Side Script
HTML files can contain text, HTML tags, and scripts.
Server-side scripting is the programming of server behavior. This is called server-side scripting or server scripting.
Client-side scripting is programming of browser behavior. (See JavaScript for beginners).
Normally, when a browser requests an HTML file, the server will return this file, but if this file contains a server-side script, then this HTML file will first be executed before it is returned to the browser as plain HTML. Scripts in HTML files.
What can the server script do?
Dynamicly edit, change or add any content to a web page
Respond to user requests or data submitted by HTML forms
Access data or database and return results to the browser
Customize pages for different users
Improve web page security so that your web page code will not be viewed through the browser
Important reminder: Since the script is executed on the server, browsing The server can display server-side files even if it does not support scripts!
ASP and PHP
At W3CSchool, we demonstrate server-side scripting by using Active Server Pages (ASP) and Hypertext Preprocessor (PHP).
ASP Example
Write text through ASP
How to write text through ASP.
Add HTML to text
How to format text with HTML tags.
How to learn ASP or PHP?
Study our complete ASP tutorial, or our complete PHP tutorial.