Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qianguyihao committed May 1, 2018
1 parent 3808dba commit 5bd8cbf
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 20 deletions.
2 changes: 1 addition & 1 deletion 01-html/02-html标签图文详解(二).md
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ dt、dd都是容器级标签,想放什么都可以。所以,现在就应该
## 表格标签

表格标签用`<table>`表示。
一个表格`<table>`是由每行`<tr>`组成的,每行是由`<td>`组成的。
一个表格`<table>`是由每行`<tr>`组成的,每行是由每个单元格`<td>`组成的。
所以我们要记住,一个表格是由行组成的(行是由列组成的),而不是由行和列组成的。
在以前,要想固定标签的位置,唯一的方法就是表格。现在可以通过CSS定位的功能来实现。但是现在在做页面的时候,表格作用还是有一些的。

Expand Down
23 changes: 11 additions & 12 deletions 08-Ajax/01-服务器分类及PHP入门.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
01-Ajax.md


## C/S架构和B/S架构

Expand Down Expand Up @@ -123,7 +121,7 @@

去 WampServer 的[官网](http://www.wampserver.com/en/)下载软件。

20180227_1936.png
![](http://img.smyhvae.com/20180227_1936.png)


安装完成后进行安装。
Expand All @@ -132,13 +130,15 @@

打开浏览器输入 `127.0.0.1` 查看显示的内容,如果是第一次安装,默认显示的应该是如下图片:

20180227_2203.png

![](http://img.smyhvae.com/20180227_2203.png)

127.0.0.1 是回送地址,指本地机,一般用来测试使用,如果想要让其他电脑也能够访问,需要进行如下配置:

(1)关闭防火墙:

20180227_2207.gif

![](http://img.smyhvae.com/20180227_2207.gif)

(2)修改httpd.conf文件:

Expand Down Expand Up @@ -210,7 +210,7 @@ php 之所以被称为最好的语言,是因为:基本上,我们能够想

在浏览器中输入`http://127.0.0.1/2018-02-28/1.php`,效果如下:

20180228_0910.png
![](http://img.smyhvae.com/20180228_0910.png)


**代码的编写位置**
Expand Down Expand Up @@ -433,7 +433,6 @@ PHP中允许使用对象这种**自定义**的数据类型。必须先声明,




```php
$arr =array(1,2,'123');

Expand Down Expand Up @@ -583,7 +582,7 @@ foreach 循环:

效果:

20180228_1140.gif
![](http://img.smyhvae.com/20180228_1140.gif)

### post 请求

Expand Down Expand Up @@ -632,7 +631,7 @@ foreach 循环:

效果演示:

20180228_1145.gif
![](http://img.smyhvae.com/20180228_1145.gif)

实际开发中,可能不会单独写一个php文件,常见的做法是:在 html 文件中嵌入 php 的代码。

Expand Down Expand Up @@ -685,7 +684,7 @@ foreach 循环:

演示效果:

20180228_php_post_file.gif
![](http://img.smyhvae.com/20180228_php_post_file.gif)

上方现象可以看出:

Expand Down Expand Up @@ -734,7 +733,7 @@ foreach 循环:

(1)打开 WampServer的文件`php.ini`

20180228_1454.png
![](http://img.smyhvae.com/20180228_1454.png)


(2)修改`php.ini`中的如下内容:
Expand Down Expand Up @@ -822,7 +821,7 @@ Referer:包含一个URL,用户从该URL代表的页面出发访问当前请

响应报文是服务器返回给客户端的。组成部分有响应行、响应头、响应主体。

20180228_1510.jpg
![](http://img.smyhvae.com/20180228_1510.jpg)


**1、状态行:**
Expand Down
2 changes: 1 addition & 1 deletion 08-Ajax/04-同源和跨域.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

从我自己的网站访问别人网站的内容,就叫跨域。

20180228_2231.png
![](http://img.smyhvae.com/20180228_2231.png)

出于安全性考虑,浏览器不允许ajax跨域获取数据。

Expand Down
2 changes: 1 addition & 1 deletion 08-Ajax/05-模板引擎.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,5 @@

效果:

20180301_1223.png
![](http://img.smyhvae.com/20180301_1223.png)

5 changes: 0 additions & 5 deletions 21-Vue基础/20180423.md

This file was deleted.

0 comments on commit 5bd8cbf

Please sign in to comment.