Share ASP.NET study notes (11) WebPages PHP

零下一度
Release: 2017-05-27 15:55:35
Original
1418 people have browsed it

ASP.NET Web Pages - PHP

PHP developers please note that Web Pages can be written in PHP.

WebMatrix supports PHP

At first glance, I think WebMatrix only supports Microsoft technology. This is not correct. In WebMatrix, you can write complete PHP applications.

Creating a PHP site

In the ASP.NET Web Pages - Creating a Website chapter, you have created an empty website named "Demo" with a page of type "CSHTML " empty page.

Repeat the creation process, create an empty site named "Demo_PHP", check "Enable PHP" (as shown in the figure below), create a blank page of PHP type, and name it "index .php" and you have created your first PHP site.

Create a PHP page

Copy the following code to the "index.php" file:

index.php 
Copy after login

[Related recommendations]

1.ASP.NET Free Video Tutorial

2.Share ASP.NET study notes (10) WebPages Email

3.Share ASP. NET study notes (9) WebPages chart

4.Share ASP.NET study notes (3) WebPages layout

5.Share ASP. NET study notes (4) Folder

6.Share ASP.NET study notes (5) Global page AppStart and PageStart

7.Share ASP.NET study notes (8) WebPages Helper

The above is the detailed content of Share ASP.NET study notes (11) WebPages PHP. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!