-
>
ȫ��Ӌ(j��)��C(j��)�ȼ�(j��)��ԇ�����濼�}��ģ�M����(ch��ng)��Ԕ�⡤����(j��)MSOffice��(j��)��(y��ng)��
-
>
�Q��(zh��n)�Мy(c��)5000�}(���Z�����c���_(d��))
-
>
ܛ�����ܜy(c��)ԇ.�����c�{(di��o)��(y��u)��(sh��)�`֮·
-
>
��һ�д��aAndroid
-
>
JAVA���m(x��)����
-
>
EXCEL�(qi��ng)�̿ƕ�(��ȫ��)(ȫ��ӡˢ)
-
>
��ȌW(xu��)��(x��)
ܛ���_�l(f��)ҕ�l���v��PHP�����T����ͨ(��5��) ���(qu��n)��Ϣ
- ISBN��9787302541394
- �l�δa��9787302541394 ; 978-7-302-54139-4
- �b����ƽ�b
- ��(c��)��(sh��)�����o
- ���������o
- ���ٷ��>>
ܛ���_�l(f��)ҕ�l���v��PHP�����T����ͨ(��5��) ������ɫ
��PHP�����T����ͨ����5�棩���ij��W(xu��)�߽Ƕȳ��l(f��)��ͨ�^ͨ�������Z�ԡ��S����ʵČ�(sh��)����Ԕ��(x��)��B��ʹ��PHP�M(j��n)�оW(w��ng)�j(lu��)�_�l(f��)��(y��ng)ԓ���յĸ����漼�g(sh��)��ȫ�����֞�4ƪ25�������У����A(ch��)֪�R(sh��)ƪ�������R(sh��)PHP��PHP�h(hu��n)������_�l(f��)������PHP�Z�Ի��A(ch��)�����̿����Z�����ַ������������t���_(d��)ʽ��PHP��(sh��)�M��PHP�cWeb��潻����PHP�cJavaScript���������ں͕r(sh��)�g�����ļ��g(sh��)ƪ����Cookie�cSession���D�ΈD��̎�����g(sh��)���ļ�ϵ�y(t��ng)������?q��)�����PHP���ܼ��g(sh��)��MySQL��(sh��)��(j��)����A(ch��)��phpMyAdmin�D�λ��������ߡ�PHP����MySQL��(sh��)��(j��)����PDO��(sh��)��(j��)�����ӡ�ThinkPHP�������(j��)��(y��ng)��ƪ����Smartyģ�弼�g(sh��)��PHP�cXML���g(sh��)��PHP�cAjax���g(sh��)���(xi��ng)Ŀ��(sh��)��(zh��n)ƪ������(y��ng)��Smartyģ���_�l(f��)����̄�(w��)�W(w��ng)վ����(y��ng)��ThinkPHP����_�l(f��)����e�W(xu��)�W(w��ng)�ȃ�(n��i)�ݡ�
ܛ���_�l(f��)ҕ�l���v��PHP�����T����ͨ(��5��) ��(n��i)�ݺ�(ji��n)��
��PHP�����T����ͨ����5�棩���ij��W(xu��)�߽Ƕȳ��l(f��)��ͨ�^ͨ�������Z�ԡ��S����ʵČ�(sh��)����Ԕ��(x��)��B��ʹ��PHP�M(j��n)�оW(w��ng)�j(lu��)�_�l(f��)��(y��ng)ԓ���յĸ����漼�g(sh��)��ȫ�����֞�4ƪ25�������������A(ch��)֪�R(sh��)ƪ�������R(sh��)PHP��PHP�h(hu��n)������_�l(f��)������PHP�Z�Ի��A(ch��)�����̿����Z�����ַ������������t���_(d��)ʽ��PHP��(sh��)�M��PHP�cWeb��潻����PHP�cJavaScript���������ں͕r(sh��)�g�����ļ��g(sh��)ƪ����Cookie�cSession���D�ΈD��̎�����g(sh��)���ļ�ϵ�y(t��ng)������?q��)�����PHP���ܼ��g(sh��)��MySQL��(sh��)��(j��)����A(ch��)��phpMyAdmin�D�λ�����������PHP����MySQL��(sh��)��(j��)����PDO��(sh��)��(j��)��������ThinkPHP��������e(cu��)��(y��ng)��ƪ����Smartyģ�弼�g(sh��)��PHP�cXML���g(sh��)��PHP�cAjax���g(sh��)���(xi��ng)Ŀ��(sh��)��(zh��n)ƪ������(y��ng)��Smartyģ���_�l(f��)����̄�(w��)�W(w��ng)վ����(y��ng)��ThinkPHP����_�l(f��)����e�W(xu��)�W(w��ng)�ȃ�(n��i)�ݡ�
ܛ���_�l(f��)ҕ�l���v��PHP�����T����ͨ(��5��) Ŀ�
��1ƪ ���A(ch��)֪�R(sh��)
��1�� ���R(sh��)PHP 2
ҕ�l�v�⣺23���
1.1 PHP���� 3
1.1.1 ʲô��PHP 3
1.1.2 PHP�Z�Եă�(y��u)��(sh��) 3
1.1.3 PHP 5�������� 4
1.1.4 PHP�İl(f��)չڅ��(sh��) 4
1.1.5 PHP�đ�(y��ng)���I(l��ng)�� 5
1.2 �U(ku��)չ�� 5
1.3 ��ΌW(xu��)��PHP 8
1.4 �W(xu��)��(x��)�YԴ 9
1.4.1 ����ܛ���YԴ 9
1.4.2 ���þW(w��ng)���YԴ 10
1.4.3 ��Ҫ�D���W(w��ng)վ 10
1.5 �W(w��ng)վ���O(sh��)�Ļ������� 10
1.6 �Y(ji��) 11
��2�� PHP�h(hu��n)������_�l(f��)���� 12
ҕ�l�v�⣺1С�r(sh��)9���
2.1 ��Windows��ʹ��WampServer 13
2.1.1 PHP�_�l(f��)�h(hu��n)�����b 13
2.1.2 PHP����(w��)���Ć���(d��ng)�cֹͣ 15
2.1.3 PHP�_�l(f��)�h(hu��n)�����P(gu��n)�I���� 16
2.2 ��Linux�µİ��b���� 19
2.2.1 ���bApache����(w��)�� 19
2.2.2 ���bMySQL��(sh��)��(j��)�� 20
2.2.3 ���bPHP 5 21
2.3 PHP�����_�l(f��)���� 23
2.4 **��(g��)PHP��(sh��)�� 24
2.5 �Y(ji��) 26
2.6 ��(sh��)�`�c����(x��) 26
��3�� PHP�Z�Ի��A(ch��) 27
ҕ�l�v�⣺2С�r(sh��)48���
3.1 PHP�Ę�(bi��o)ӛ�L(f��ng)�� 28
3.2 PHPעጵđ�(y��ng)�� 28
3.3 PHP�Ĕ�(sh��)��(j��)��� 30
3.3.1 ��(bi��o)����(sh��)��(j��)��� 30
3.3.2 ��(f��)�ϔ�(sh��)��(j��)��� 35
3.3.3 ���┵(sh��)��(j��)��� 36
3.3.4 ��(sh��)��(j��)����D(zhu��n)�Q 37
3.3.5 �z�y(c��)��(sh��)��(j��)��� 39
3.4 PHP���� 39
3.4.1 ����ʹ�ó��� 39
3.4.2 �A(y��)���x���� 41
3.5 PHP׃�� 42
3.5.1 ׃������ʹ�� 42
3.5.2 ׃�������� 44
3.5.3 ��׃׃�� 46
3.5.4 PHP�A(y��)���x׃�� 46
3.6 PHP�\(y��n)��� 47
3.6.1 ���g(sh��)�\(y��n)��� 47
3.6.2 �ַ����\(y��n)��� 48
3.6.3 �xֵ�\(y��n)��� 49
3.6.4 �f�����f�p�\(y��n)��� 49
3.6.5 λ�\(y��n)��� 50
3.6.6 ߉�\(y��n)��� 51
3.6.7 ���^�\(y��n)��� 52
3.6.8 �l���\(y��n)��� 53
3.6.9 �\(y��n)����ă�(y��u)�ȼ�(j��) 53
3.7 PHP�ı��_(d��)ʽ 54
3.8 PHP����(sh��) 55
3.8.1 ���x���{(di��o)�ú���(sh��) 55
3.8.2 �ں���(sh��)�g���f����(sh��) 56
3.8.3 �ĺ���(sh��)�з���ֵ 58
3.8.4 ׃������(sh��) 58
3.9 PHP���aҎ(gu��)�� 59
3.9.1 ʲô�Ǿ��aҎ(gu��)�� 59
3.9.2 PHP����Ҏ(gu��)�t 60
3.9.3 PHP����Ҏ(gu��)�t 61
3.10 �Y(ji��) 63
3.11 ��(sh��)�`�c����(x��) 63
��4�� ���̿����Z�� 64
ҕ�l�v�⣺1С�r(sh��)8���
4.1 �l�������Z�� 65
4.1.1 if�Z�� 65
4.1.2 if…else�Z�� 66
4.1.3 elseif�Z�� 67
4.1.4 switch�Z�� 69
4.2 ѭ�h(hu��n)�����Z�� 71
4.2.1 whileѭ�h(hu��n)�Z�� 71
4.2.2 do…whileѭ�h(hu��n)�Z�� 72
4.2.3 forѭ�h(hu��n)�Z�� 73
4.2.4 foreachѭ�h(hu��n)�Z�� 74
4.3 ���D(zhu��n)�Z�� 75
4.3.1 break�Z�� 75
4.3.2 continue�Z�� 77
4.4 �Y(ji��) 78
4.5 ��(sh��)�`�c����(x��) 79
��5�� �ַ������� 80
ҕ�l�v�⣺56���
5.1 �ַ����Ķ��x���� 81
5.1.1 ʹ�Æ���̖(h��o)���p��̖(h��o)���x�ַ��� 81
5.1.2 ʹ�ö�������x�ַ��� 82
5.2 �ַ������� 82
5.2.1 ȥ���ַ�����β�ո�������ַ� 83
5.2.2 �D(zhu��n)�x��߀ԭ�ַ���?d��ng)?sh��)��(j��) 84
5.2.3 �@ȡ�ַ������L(zh��ng)�� 87
5.2.4 ��ȡ�ַ��� 89
5.2.5 ���^�ַ��� 90
5.2.6 �z���ַ��� 92
5.2.7 ��Q�ַ��� 94
5.2.8 ��ʽ���ַ��� 97
5.2.9 �ָ����ϳ��ַ��� 98
5.3 �Y(ji��) 100
5.4 ��(sh��)�`�c����(x��) 100
��6�� ���t���_(d��)ʽ 101
ҕ�l�v�⣺33���
6.1 ʲô�����t���_(d��)ʽ 102
6.2 ���t���_(d��)ʽ�Z��Ҏ(gu��)�t 102
6.2.1 �ж�λ����^��$�� 103
6.2.2 ���~�ֽ����\b��\B�� 103
6.2.3 �ַ��[ ]�� 103
6.2.4 �x���ַ���|�� 104
6.2.5 �B�ַ���-�� 104
6.2.6 �ų��ַ���[^]�� 105
6.2.7 ������? * {n,m}�� 105
6.2.8 �c(di��n)̖(h��o)�ַ���.�� 105
6.2.9 �D(zhu��n)�x�ַ���\�� 106
6.2.10 �����\�� 106
6.2.11 ��̖(h��o)�ַ���()�� 107
6.2.12 �������� 108
6.2.13 ģʽ��� 108
6.3 PCRE�������t���_(d��)ʽ����(sh��) 109
6.3.1 preg_grep()����(sh��) 109
6.3.2 preg_match()��preg_match_all()����(sh��) 109
6.3.3 preg_quote()����(sh��) 110
6.3.4 preg_replace()����(sh��) 111
6.3.5 preg_replace_callback()����(sh��) 112
6.3.6 preg_split()����(sh��) 112
6.4 ��(y��ng)�����t���_(d��)ʽ��(du��)�Ñ�ע��(c��)��Ϣ�M(j��n)���(y��n)�C 112
6.5 �Y(ji��) 115
6.6 ��(sh��)�`�c����(x��) 115
��7�� PHP��(sh��)�M 116
ҕ�l�v�⣺1С�r(sh��)6���
7.1 ʲô�ǔ�(sh��)�M 117
7.2 ����(sh��)�M 117
7.3 ��(sh��)�M����� 119
7.3.1 ��(sh��)��������(sh��)�M 119
7.3.2 �P(gu��n)(li��n)��(sh��)�M 119
7.4 ݔ����(sh��)�M 120
7.5 ��(sh��)�M��(g��u)�� 121
7.5.1 һ�S��(sh��)�M 121
7.5.2 ���S��(sh��)�M 121
7.6 ��v��(sh��)�M 122
7.7 �ַ����c��(sh��)�M���D(zhu��n)�Q 124
7.8 �y(t��ng)Ӌ(j��)��(sh��)�MԪ��(g��)��(sh��) 126
7.9 ��ԃ��(sh��)�M��ָ��Ԫ�� 127
7.10 �@ȡ��(sh��)�M��*��һ��(g��)Ԫ�� 128
7.11 ��(sh��)�M������Ԫ�� 129
7.12 �h����(sh��)�M���؏�(f��)Ԫ�� 129
7.13 �C���\(y��n)�Ô�(sh��)�M����(sh��)��(sh��)�F(xi��n)���ļ��ς� 130
7.14 �Y(ji��) 132
7.15 ��(sh��)�`�c����(x��) 132
��8�� PHP�cWeb��潻�� 133
ҕ�l�v�⣺1С�r(sh��)6���
8.1 ��� 134
8.1.1 ��(chu��ng)����� 134
8.1.2 ���Ԫ�� 135
8.2 ����ͨ��Web��в����� 138
8.3 �@ȡ��Δ�(sh��)��(j��)�ăɷN���� 140
8.3.1 ʹ��POST�����ύ��� 140
8.3.2 ʹ��GET�����ύ��� 141
8.4 PHP����(sh��)���f�ij��÷��� 142
8.4.1 $_POST[]ȫ��׃�� 142
8.4.2 $_GET[]ȫ��׃�� 143
8.4.3 $_SESSION[]׃�� 143
8.5 ��Web���Ƕ��PHP�_�� 144
8.5.1 ��HTML��(bi��o)ӛ������PHP�_�� 144
8.5.2 ��(du��)���Ԫ�ص�value�����M(j��n)���xֵ 144
8.6 ��PHP�Ы@ȡ��Δ�(sh��)��(j��) 144
8.6.1 �@ȡ�ı������ܴa�����[�����o���ı����ֵ 144
8.6.2 �@ȡ���x���o��ֵ 146
8.6.3 �@ȡ��(f��)�x���ֵ 146
8.6.4 �@ȡ�����б���/�ˆ��б����ֵ 148
8.6.5 �@ȡ�ļ����ֵ 150
8.7 ��(du��)URL���f�ą���(sh��)�M(j��n)�о�/��a 151
8.7.1 ��(du��)URL���f�ą���(sh��)�M(j��n)�о��a 151
8.7.2 ��(du��)URL���f�ą���(sh��)�M(j��n)�н�a 152
8.8 PHP�cWeb��εľC�ϑ�(y��ng)�� 153
8.9 �Y(ji��) 154
8.10 ��(sh��)�`�c����(x��) 154
��9�� PHP�cJavaScript���� 155
ҕ�l�v�⣺1С�r(sh��)4���
9.1 �˽�JavaScript 156
9.1.1 ʲô��JavaScript 156
9.1.2 JavaScript���� 156
9.2 JavaScript�Z�Ի��A(ch��) 156
9.2.1 JavaScript��(sh��)��(j��)��� 157
9.2.2 JavaScript׃�� 157
9.2.3 JavaScriptע� 159
9.3 �Զ��x����(sh��) 159
9.4 JavaScript���̿����Z�� 160
9.4.1 �l���Z�� 160
9.4.2 ѭ�h(hu��n)�Z�� 164
9.4.3 ���D(zhu��n)�Z�� 166
9.5 JavaScript�¼� 167
9.6 �{(di��o)��JavaScript�_����JavaScript�_��Ƕ�뷽ʽ�� 168
9.6.1 ��HTML��Ƕ��JavaScript�_�� 168
9.6.2 ��(y��ng)��JavaScript�¼��{(di��o)���Զ��x����(sh��) 169
9.6.3 ��PHP��(d��ng)�B(t��i)�W(w��ng)�������JS�ļ� 169
9.6.4 ��Q�g�[����֧��JavaScript�Ć��} 171
9.7 ��PHP���{(di��o)��JavaScript�_�� 173
9.7.1 ��(y��ng)��JavaScript�_���(y��n)�C���Ԫ���Ƿ��� 173
9.7.2 ��(y��ng)��JavaScript�_����������(j��)��(d��o)���ˆ� 175
9.7.3 ��(y��ng)��JavaScript�_�������ı���͏�(f��)�x�� 176
9.8 �Y(ji��) 179
9.9 ��(sh��)�`�c����(x��) 179
��10�� ���ں͕r(sh��)�g 180
ҕ�l�v�⣺30���
10.1 ϵ�y(t��ng)�r(sh��)�^(q��)�O(sh��)�� 181
10.1.1 �r(sh��)�^(q��)���� 181
10.1.2 �r(sh��)�^(q��)�O(sh��)�� 181
10.2 PHP���ں͕r(sh��)�g����(sh��) 181
10.2.1 �@�ñ��ػ��r(sh��)�g�� 182
10.2.2 �@ȡ��(d��ng)ǰ�r(sh��)�g�� 183
10.2.3 �@ȡ��(d��ng)ǰ���ں͕r(sh��)�g 183
10.2.4 �@ȡ������Ϣ 185
10.2.5 �z�(y��n)���ڵ���Ч�� 186
10.2.6 ݔ����ʽ�������ں͕r(sh��)�g 186
10.2.7 �@ʾ���ػ������ں͕r(sh��)�g 188
10.2.8 �����ں͕r(sh��)�g������UNIX�r(sh��)�g�� 191
10.3 ���ں͕r(sh��)�g�đ�(y��ng)�� 192
10.3.1 ���^�ɂ�(g��)�r(sh��)�g�Ĵ�С 192
10.3.2 ��(sh��)�F(xi��n)��Ӌ(j��)�r(sh��)���� 192
10.3.3 Ӌ(j��)������_�����\(y��n)�Еr(sh��)�g 193
10.4 �Y(ji��) 195
10.5 ��(sh��)�`�c����(x��) 195
��2ƪ ���ļ��g(sh��)
��11�� Cookie�cSession 198
ҕ�l�v�⣺1С�r(sh��)8���
11.1 Cookie���� 199
11.1.1 �˽�Cookie 199
11.1.2 ��(chu��ng)��Cookie 200
11.1.3 �xȡCookie 201
11.1.4 �h��Cookie 202
11.1.5 Cookie���������� 203
11.2 Session���� 203
11.2.1 �˽�Session 203
11.2.2 ��(chu��ng)����(hu��)Ԓ 204
11.2.3 Session�O(sh��)�Õr(sh��)�g 206
11.2.4 ͨ�^Session�Д��Ñ��IJ�����(qu��n)�� 208
11.3 Session��(j��)��(y��ng)�� 210
11.3.1 Session�R�r(sh��)�ļ� 210
11.3.2 Session���� 211
11.3.3 Session��(sh��)��(j��)��惦(ch��) 212
11.4 �Y(ji��) 215
11.5 ��(sh��)�`�c����(x��) 215
��12�� �D�ΈD��̎�����g(sh��) 216
ҕ�l�v�⣺45���
12.1 ��PHP��dGD�� 217
12.2 Jpgraph���b�c���� 218
12.2.1 Jpgraph���b 218
12.2.2 Jpgraph������ 218
12.3 �D�ΈD��ĵ��͑�(y��ng)�� 219
12.3.1 ��(chu��ng)��һ��(g��)��(ji��n)�εĈD�� 219
12.3.2 ʹ��GD2����(sh��)����Ƭ���������� 219
12.3.3 ʹ�ÈD��̎�����g(sh��)�����(y��n)�C�a 220
12.3.4 ʹ�����ΈD�y(t��ng)Ӌ(j��)�D�����N���� 222
12.3.5 ʹ���۾��D�y(t��ng)Ӌ(j��)�D�����N���~ 223
12.3.6 ʹ��3D��ΈD�y(t��ng)Ӌ(j��)�����Ʒ�����N���~���� 225
12.4 �Y(ji��) 226
12.5 ��(sh��)�`�c����(x��) 226
��13�� �ļ�ϵ�y(t��ng) 228
ҕ�l�v�⣺49���
13.1 �ļ�̎�� 229
13.1.1 ���_/�P(gu��n)�]�ļ� 229
13.1.2 �x���ļ� 230
13.1.3 �����ļ� 235
13.2 Ŀ�̎�� 236
13.2.1 ���_/�P(gu��n)�]Ŀ� 236
13.2.2 �g�[Ŀ� 237
13.2.3 ����Ŀ� 238
13.3 �ļ�̎���ĸ�(j��)��(y��ng)�� 238
13.3.1 �h(yu��n)���ļ����L�� 239
13.3.2 �ļ�ָ� 239
13.3.3 �i���ļ� 240
13.4 �ļ��ς� 241
13.4.1 ����php.ini�ļ� 241
13.4.2 �A(y��)���x׃��$_FILES 242
13.4.3 �ļ��ς�����(sh��) 243
13.4.4 ���ļ��ς� 244
13.5 �Y(ji��) 245
13.6 ��(sh��)�`�c����(x��) 245
��14�� ����?q��)��? 246
ҕ�l�v�⣺26���
14.1 ����?q��)���Ļ������? 247
14.1.1 � 247
14.1.2 ��(du��)�� 247
14.1.3 ����?q��)��̵��������c(di��n) 248
14.2 PHP�c��(du��)�� 248
14.2.1 Ķ��x 248
14.2.2 �ɆT���� 249
14.2.3 �(sh��)���� 249
14.2.4 �ɆT׃�� 250
14.2.5 ��� 251
14.2.6 ��(g��u)�췽��������(g��u)���� 252
14.2.7 �^�кͶ��B(t��i)�Č�(sh��)�F(xi��n) 255
14.2.8 “$this ->”��“::”��ʹ�� 257
14.2.9 ��(sh��)��(j��)�[�� 259
14.2.10 �o�B(t��i)׃���������� 261
14.3 ����?q��)���ĸ?j��)��(y��ng)�� 263
14.3.1 final�P(gu��n)�I�� 263
14.3.2 ����� 263
14.3.3 �ӿڵ�ʹ�� 265
14.3.4 ��¡��(du��)�� 267
14.3.5 ��(du��)����^ 268
14.3.6 ��(du��)����͙z�y(c��) 269
14.3.7 ħ�g(sh��)���� 270
14.4 ����?q��)���đ?y��ng)��—�����ַ����Ľ�ȡ� 274
14.5 �Y(ji��) 276
14.6 ��(sh��)�`�c����(x��) 276
��15�� PHP���ܼ��g(sh��) 277
ҕ�l�v�⣺23���
15.1 PHP���ܺ���(sh��) 278
15.1.1 ʹ��crypt()����(sh��)�M(j��n)�м��� 278
15.1.2 ʹ��md5()����(sh��)�M(j��n)�м��� 280
15.1.3 ʹ��sha1()����(sh��)�M(j��n)�м��� 281
15.2 PHP���ܔU(ku��)չ�� 282
15.2.1 Mcrypt�U(ku��)չ�� 282
15.2.2 Mhash�U(ku��)չ�� 285
15.3 �Y(ji��) 286
15.4 ��(sh��)�`�c����(x��) 286
��16�� MySQL��(sh��)��(j��)����A(ch��) 287
ҕ�l�v�⣺56���
16.1 MySQL���� 288
16.2 ����(d��ng)���P(gu��n)�]MySQL����(w��)�� 289
16.2.1 ����(d��ng)MySQL����(w��)�� 289
16.2.2 �B�Ӻ͔��_MySQL����(w��)�� 289
16.3 ����MySQL��(sh��)��(j��)�� 290
16.3.1 ��(chu��ng)����(sh��)��(j��)�� 290
16.3.2 �x��(sh��)��(j��)�� 291
16.3.3 �鿴��(sh��)��(j��)�� 291
16.3.4 �h����(sh��)��(j��)�� 291
16.4 MySQL��(sh��)��(j��)��� 292
16.4.1 ��(sh��)����� 292
16.4.2 �ַ������ 293
16.4.3 ���ں͕r(sh��)�g��� 294
16.5 ������(sh��)��(j��)�� 294
16.5.1 ��(chu��ng)����(sh��)��(j��)�� 295
16.5.2 �鿴���Y(ji��)��(g��u) 296
16.5.3 �ı��Y(ji��)��(g��u) 297
16.5.4 ��������(sh��)��(j��)�� 298
16.5.5 �h����(sh��)��(j��)�� 298
16.6 ��(sh��)��(j��)��ӛ䛵ĸ��²��� 299
16.6.1 ��(sh��)��(j��)��ӛ䛵����� 299
16.6.2 ��(sh��)��(j��)��ӛ䛵��� 300
16.6.3 ��(sh��)��(j��)��ӛ䛵Ąh�� 300
16.7 ��(sh��)��(j��)��ӛ䛵IJ�ԃ���� 300
16.8 MySQL�е������ַ� 304
16.9 �Y(ji��) 305
16.10 ��(sh��)�`�c����(x��) 305
��17�� phpMyAdmin�D��������� 306
ҕ�l�v�⣺10���
17.1 phpMyAdmin��B 307
17.2 phpMyAdmin��ʹ�� 307
17.2.1 ������(sh��)��(j��)�� 307
17.2.2 ������(sh��)��(j��)�� 309
17.2.3 ʹ��SQL�Z�������(sh��)��(j��)�� 311
17.2.4 ���픵(sh��)��(j��)ӛ� 315
17.2.5 ���ɺ͈�(zh��)��MySQL��(sh��)��(j��)���_�� 316
17.3 �Y(ji��) 318
17.4 ��(sh��)�`�c����(x��) 318
��18�� PHP����MySQL��(sh��)��(j��)�� 319
ҕ�l�v�⣺52���
18.1 PHP����MySQL��(sh��)��(j��)��ķ��� 320
18.1.1 �B��MySQL����(w��)�� 320
18.1.2 �x��MySQL��(sh��)��(j��)�� 321
18.1.3 ��(zh��)��SQL�Z�� 322
18.1.4 ���Y(ji��)�������ص���(sh��)�M�� 323
18.1.5 �ĽY(ji��)�����Ы@ȡһ�����錦(du��)�� 325
18.1.6 �ĽY(ji��)�����Ы@ȡһ������ö�e��(sh��)�M 326
18.1.7 �ĽY(ji��)�����Ы@ȡһ�������P(gu��n)(li��n)��(sh��)�M 326
18.1.8 �@ȡ��ԃ�Y(ji��)�����е�ӛ䛔�(sh��) 327
18.1.9 ጷŃ�(n��i)�� 328
18.1.10 �P(gu��n)�]�B�� 328
18.1.11 �B���c�P(gu��n)�]MySQL����(w��)����*�ѕr(sh��)�C(j��) 329
18.2 ����MySQL��(sh��)��(j��)���еĔ�(sh��)��(j��) 330
18.2.1 ���Ӕ�(sh��)��(j��) 330
18.2.2 ����(sh��)��(j��) 331
18.2.3 �h����(sh��)��(j��) 333
18.2.4 ������(sh��)��(j��)���� 334
18.3 �Y(ji��) 335
18.4 ��(sh��)�`�c����(x��) 335
��19�� PDO��(sh��)��(j��)������ 336
ҕ�l�v�⣺48���
19.1 ʲô��PDO 337
19.1.1 PDO���� 337
19.1.2 PDO���c(di��n) 337
19.1.3 ���bPDO 337
19.2 PDO�B�Ӕ�(sh��)��(j��)�� 338
19.2.1 PDO��(g��u)�캯��(sh��) 338
19.2.2 DSNԔ�� 339
19.3 PDO�Ј�(zh��)��SQL�Z�� 339
19.3.1 exec���� 339
19.3.2 query���� 339
19.3.3 �A(y��)̎���Z��—prepare��execute���� 340
19.4 PDO�Ы@ȡ�Y(ji��)���� 340
19.4.1 fetch���� 340
19.4.2 fetchAll���� 342
19.4.3 fetchColumn���� 343
19.5 PDO��@SQL�Z����e(cu��)�` 344
19.5.1 ʹ��Ĭ�J(r��n)ģʽ—PDO::ERRMODE_SILENT 344
19.5.2 ʹ�þ���ģʽ—PDO::ERRMODE_WARNING 345
19.5.3 ʹ�î���ģʽ—PDO::ERRMODE_EXCEPTION 347
19.6 PDO���e(cu��)�`̎�� 348
19.6.1 errorCode���� 348
19.6.2 errorInfo���� 350
19.7 PDO����(w��)̎�� 351
19.8 PDO�д惦(ch��)�^�� 352
19.9 �Y(ji��) 354
19.10 ��(sh��)�`�c����(x��) 354
��20�� ThinkPHP��� 355
ҕ�l�v�⣺2С�r(sh��)42���
20.1 ThinkPHP��(ji��n)�� 356
20.1.1 ThinkPHP��ܵ���Ҫ���� 356
20.1.2 �h(hu��n)��Ҫ�� 356
20.1.3 ���d�Ͱ��b 357
20.2 ThinkPHP���A(ch��) 358
20.2.1 Ŀ䛽Y(ji��)��(g��u) 358
20.2.2 ����Ҏ(gu��)�� 360
20.2.3 �ܘ�(g��u)���[ 361
20.3 ThinkPHP������ 364
20.3.1 ���û��A(ch��) 364
20.3.2 ���ü��d�����ļ���Ŀ� 365
20.3.3 ������� 366
20.3.4 �YԴ���� 368
20.3.5 �{(di��o)ԇ���� 368
20.4 ·�� 369
20.4.1 ·�ɸ��� 369
20.4.2 ·��ģʽ 370
20.4.3 ·�ɶ��x 370
20.4.4 ·�ɱ��_(d��)ʽ 374
20.4.5 ·�ɵ�ַ 375
20.4.6 ·�ɷֽM 375
20.4.7 MISS·�� 376
20.5 ������ 377
20.5.1 �������Ķ��x 377
20.5.2 ���D(zhu��n)���ض��� 378
20.6 ��(sh��)��(j��)�� 379
20.6.1 ��(sh��)��(j��)����B�� 379
20.6.2 �������� 382
20.7 ģ�� 386
20.7.1 ģ�͵Ķ��x 387
20.7.2 ģ�ͻ��A(ch��)���� 388
20.8 ҕ�D 395
20.8.1 ҕ�D��Ⱦ 395
20.8.2 ҕ�D�xֵ 396
20.9 ģ�� 398
20.9.1 ׃��ݔ�� 398
20.9.2 ʹ�ú���(sh��) 399
20.9.3 ��(n��i)��(bi��o)�� 400
20.10 �Y(ji��) 403
20.11 ��(sh��)�`�c����(x��) 403
��3ƪ ��(j��)��(y��ng)��
��21�� Smartyģ�弼�g(sh��) 406
ҕ�l�v�⣺55���
21.1 Smarty��(ji��n)�� 407
21.1.1 ʲô��Smarty 407
21.1.2 Smarty�cMVC 407
21.1.3 Smarty�����c(di��n) 407
21.2 Smarty���b���� 408
21.2.1 Smarty�����d�Ͱ��b 408
21.2.2 **��(g��)Smarty���� 408
21.2.3 Smarty���� 410
21.3 Smartyģ���O(sh��)Ӌ(j��) 412
21.3.1 Smartyģ���ļ� 412
21.3.2 ע� 412
21.3.3 ׃�� 412
21.3.4 ���׃�� 415
21.3.5 ���̿��� 417
21.4 Smarty�����O(sh��)Ӌ(j��) 420
21.4.1 Smarty�еij��÷��� 420
21.4.2 Smarty������׃�� 422
21.5 Smartyģ��đ�(y��ng)�� 422
21.5.1 ��Smarty�����÷������b����� 422
21.5.2 Smarty ADODB���ϑ�(y��ng)�� 425
21.6 �Y(ji��) 427
21.7 ��(sh��)�`�c����(x��) 427
��22�� PHP�cXML���g(sh��) 428
ҕ�l�v�⣺24���
22.1 XML���� 429
22.2 XML�Z�� 429
22.2.1 XML�ęn�Y(ji��)��(g��u) 429
22.2.2 XML�� 430
22.2.3 ̎��ָ�� 430
22.2.4 ע� 430
22.2.5 XMLԪ�� 431
22.2.6 XML���� 431
22.2.7 ʹ��CDATA��(bi��o)ӛ 431
22.2.8 XML�������g 432
22.3 ��PHP�Є�(chu��ng)��XML�ęn 433
22.4 SimpleXML� 433
22.4.1 ��(chu��ng)��SimpleXML��(du��)�� 434
22.4.2 ��v������Ԫ�� 435
22.4.3 ��v���Ќ��� 436
22.4.4 �L���ض���(ji��)�c(di��n)Ԫ�غ͌��� 437
22.4.5 ��XML��(sh��)��(j��) 437
22.4.6 ����XML�ęn 439
22.5 ��(d��ng)�B(t��i)��(chu��ng)��XML�ęn 440
22.6 �Y(ji��) 441
22.7 ��(sh��)�`�c����(x��) 441
��23�� PHP�cAjax���g(sh��) 442
ҕ�l�v�⣺42���
23.1 Ajax���� 443
23.1.1 ʲô��Ajax 443
23.1.2 Ajax���_�l(f��)ģʽ 443
23.1.3 Ajax�ă�(y��u)�c(di��n) 444
23.2 Ajaxʹ�õļ��g(sh��) 444
23.2.1 JavaScript�_���Z�� 444
23.2.2 XMLHttpRequest 444
23.2.3 XML�Z�� 447
23.2.4 DOM 447
23.2.5 CSS 447
23.3 Ajax�_�l(f��)��Ҫע��Ďׂ�(g��)���} 448
23.4 ��PHP�Б�(y��ng)��Ajax���g(sh��)�ĵ��͑�(y��ng)�� 449
23.4.1 ��PHP�Б�(y��ng)��Ajax���g(sh��)�z�y(c��)�Ñ��� 449
23.4.2 ��PHP�Б�(y��ng)��Ajax���g(sh��)��(sh��)�F(xi��n)��������e���� 451
23.5 �Y(ji��) 454
23.6 ��(sh��)�`�c����(x��) 454
��4ƪ �(xi��ng)Ŀ��(sh��)��(zh��n)
��24�� ��(y��ng)��Smartyģ���_�l(f��)����̄�(w��)�W(w��ng)վ 456
ҕ�l�v�⣺2С�r(sh��)21���
24.1 �_�l(f��)���� 457
24.2 ������� 457
24.3 ϵ�y(t��ng)���� 457
24.3.1 ϵ�y(t��ng)Ŀ��(bi��o) 457
24.3.2 ϵ�y(t��ng)���ܽY(ji��)��(g��u) 458
24.3.3 �_�l(f��)�h(hu��n)�� 459
24.3.4 �ļ��A�M���Y(ji��)��(g��u) 459
24.4 ��(sh��)��(j��)���c��(sh��)��(j��)�����O(sh��)Ӌ(j��) 460
24.4.1 ��(sh��)��(j��)����� 460
24.4.2 ��(chu��ng)����(sh��)��(j��)��͔�(sh��)��(j��)�� 462
24.5 �����ļ��O(sh��)Ӌ(j��) 464
24.5.1 ��(sh��)��(j��)���B���������ͷ����ļ� 465
24.5.2 Smartyģ��������ļ� 467
24.5.3 ��(zh��)��Č�(sh��)�����ļ� 468
24.6 ǰ�_(t��i)����O(sh��)Ӌ(j��) 468
24.6.1 ǰ�_(t��i)��퓼��g(sh��)���� 469
24.6.2 ǰ�_(t��i)��퓌�(sh��)�F(xi��n)�^�� 470
24.7 ���ģ�K�O(sh��)Ӌ(j��) 472
24.7.1 ���ģ�K���� 472
24.7.2 ���ģ�K���g(sh��)���� 472
24.7.3 �Ñ�ע��(c��) 474
24.7.4 ����� 476
24.7.5 �һ��ܴa 478
24.8 ��(hu��)�T��Ϣģ�K�O(sh��)Ӌ(j��) 483
24.8.1 ��(hu��)�T��Ϣģ�K���� 483
24.8.2 ��(hu��)�T��Ϣģ�K���g(sh��)���� 483
24.8.3 ��(hu��)�T���� 484
24.8.4 ��ȫ�˳� 487
24.9 ��Ʒ�@ʾģ�K 488
24.9.1 ��Ʒչʾģ�K���� 488
24.9.2 ��Ʒչʾģ�K���g(sh��)���� 489
24.9.3 ��Ʒչʾģ�K�Č�(sh��)�F(xi��n)�^�� 489
24.10 ُ��܇ģ�K�O(sh��)Ӌ(j��) 492
24.10.1 ُ��܇ģ�K���� 492
24.10.2 ُ��܇ģ�K���g(sh��)���� 493
24.10.3 ُ��܇չʾ 495
24.10.4 ������Ʒ��(sh��)�� 497
24.10.5 �h����Ʒ 498
24.10.6 ����ُ��܇ 500
24.11 ���y�_(t��i)ģ�K�O(sh��)Ӌ(j��) 502
24.11.1 ���y�_(t��i)ģ�K���� 502
24.11.2 ���y�_(t��i)ģ�K���g(sh��)���� 502
24.11.3 �@ʾӆ�� 503
24.11.4 �ӆ�� 503
24.11.5 ̎��ӆ�� 504
24.12 ���_(t��i)����O(sh��)Ӌ(j��) 505
24.12.1 ���_(t��i)��퓸��� 505
24.12.2 ���_(t��i)��퓼��g(sh��)���� 506
24.12.3 ���_(t��i)��퓌�(sh��)�F(xi��n)�^�� 508 24.13 �_�l(f��)��Ҋ���}�c��Q 510
24.13.1 ��QAjax�āy�a���} 510
24.13.2 ʹ��JS�_���@ȡ��ݔ����(bi��o)����(n��i)�� 510
24.13.3 ������澏�� 510
24.13.4 ���´�����ʹ��session 511
24.13.5 �Д��ς��ļ���ʽ 511
24.13.6 �O(sh��)�÷���(w��)���ĕr(sh��)�g 511
24.14 �Y(ji��) 512
��25�� ��(y��ng)��ThinkPHP����_�l(f��)����e�W(xu��)�W(w��ng) 513
ҕ�l�v�⣺1С�r(sh��)29���
25.1 �(xi��ng)Ŀ�O(sh��)Ӌ(j��)˼· 514
25.1.1 �����U�� 514
25.1.2 ���ܽY(ji��)��(g��u) 514
25.1.3 ϵ�y(t��ng)�A(y��)�[ 515
25.2 ��(sh��)��(j��)���O(sh��)Ӌ(j��) 517
25.2.1 ��(sh��)��(j��)����� 517
25.2.2 ��(sh��)��(j��)���O(sh��)Ӌ(j��) 517
25.2.3 �B�Ӕ�(sh��)��(j��)�� 520
25.3 ϵ�y(t��ng)�_�l(f��)** 520
25.3.1 ϵ�y(t��ng)�_�l(f��)�h(hu��n)�� 520
25.3.2 �ļ��A�M���Y(ji��)��(g��u) 521
25.4 ǰ�_(t��i)ģ�K�O(sh��)Ӌ(j��) 521
25.4.1 ҕ�l����O(sh��)Ӌ(j��) 521
25.4.2 ���ע��(c��)����O(sh��)Ӌ(j��) 524
25.4.3 ҕ�l�б�����O(sh��)Ӌ(j��) 529
25.4.4 ҕ�l��������O(sh��)Ӌ(j��) 530
25.4.5 ��(hu��)�T��������O(sh��)Ӌ(j��) 533
25.5 ���_(t��i)ģ�K�O(sh��)Ӌ(j��) 535
25.5.1 �n�̹��� 535
25.5.2 �YԴ���� 537
25.5.3 ע��(c��)��(hu��)�T 539
25.5.4 �~̖(h��o)���� 540
25.6 �Y(ji��) 540
ܛ���_�l(f��)ҕ�l���v��PHP�����T����ͨ(��5��) ���ߺ�(ji��n)��
���տƼ�����һ��(g��)����ܛ���_�l(f��)���(xi��ng)Ŀ��(sh��)ʩ������Y��Һ͌W(xu��)��(x��)�ͼ��g(sh��)�F(tu��n)�(du��)�����÷e�۵Č��I(y��)֪�R(sh��)�ͽ�(j��ng)�(y��n)�����_�l(f��)������“ܛ���_�l(f��)ҕ�l���v��”“ܛ���_�l(f��)��(sh��)��(zh��n)1200��”“ܛ���_�l(f��)��(sh��)��(zh��n)����”“ܛ���(xi��ng)Ŀ�_�l(f��)ȫ�̌�(sh��)�”��ϵ�Ѕ������LJ���(n��i)���N�ľ��̈D��Ʒ����
- >
���{����,��Ҫȥ��(2021�°�)
- >
����
- >
�ϵ�֮��:���˵��挍(sh��)�ó�
- >
�S�@ʳ��
- >
����
- >
����Ԣ��-�����ČW(xu��)�������-ȫ�g��
- >
�_�����_�m�x���S�P-���b
- >
����?gu��)����x��Ѹ:�����¾�