仓酷云

标题: PHP编程:php严重发明!:) [打印本页]

作者: 愤怒的大鸟    时间: 2015-2-4 00:08
标题: PHP编程:php严重发明!:)
如果不会怎么办,我的视频教程里有个最简单的留言板 最开始离不开模仿,   比来各处查找php+xml的示例,明天溘然发明在phpinfo()居然也利用了xml,并且写得还很好!
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=GB2312">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./gd.files/filelist.xml">
<title>gd</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
  <o:Author>Administrator</o:Author>
  <o:LastAuthor>Administrator</o:LastAuthor>
  <o:Revision>1</o:Revision>
  <o:TotalTime>1</o:TotalTime>
  <o:Created>2001-11-22T05:48:00Z</o:Created>
  <o:LastSaved>2001-11-22T05:49:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Lines>1</o:Lines>
  <o:Paragraphs>1</o:Paragraphs>
  <o:Version>9.2812</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
  <w:PunctuationKerning/>
  <w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing>
  <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
  <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
  <w:Compatibility>
   <w:SpaceForUL/>
   <w:BalanceSingleByteDoubleByteWidth/>
   <w:DoNotLeaveBackslashAlone/>
   <w:ULTrailSpace/>
   <w:DoNotExpandShiftReturn/>
   <w:AdjustLineHeightInTable/>
   <w:UseFELayout/>
  </w:Compatibility>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
    {font-family:宋体;
    panose-1:2 1 6 0 3 1 1 1 1 1;
    mso-font-alt:SimSun;
    mso-font-charset:134;
    mso-generic-font-family:auto;
    mso-font-pitch:variable;
    mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
    {font-family:黑体;
    panose-1:2 1 6 0 3 1 1 1 1 1;
    mso-font-alt:SimHei;
    mso-font-charset:134;
    mso-generic-font-family:auto;
    mso-font-pitch:variable;
    mso-font-signature:1 135135232 16 0 262144 0;}
@font-face
    {font-family:"\@宋体";
    panose-1:2 1 6 0 3 1 1 1 1 1;
    mso-font-charset:134;
    mso-generic-font-family:auto;
    mso-font-pitch:variable;
    mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
    {font-family:"\@黑体";
    panose-1:2 1 6 0 3 1 1 1 1 1;
    mso-font-charset:134;
    mso-generic-font-family:auto;
    mso-font-pitch:variable;
    mso-font-signature:1 135135232 16 0 262144 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
    {mso-style-parent:"";
    margin:0cm;
    margin-bottom:.0001pt;
    text-align:justify;
    text-justify:inter-ideograph;
    mso-pagination:none;
    font-size:10.5pt;
    mso-bidi-font-size:12.0pt;
    font-family:"Times New Roman";
    mso-fareast-font-family:宋体;
    mso-font-kerning:1.0pt;}
h1
    {margin-right:0cm;
    mso-margin-top-alt:auto;
    mso-margin-bottom-alt:auto;
    margin-left:0cm;
    mso-pagination:widow-orphan;
    mso-outline-level:1;
    font-size:18.0pt;
    font-family:Arial;
    mso-font-kerning:18.0pt;
    font-weight:bold;}
h2
    {margin-right:0cm;
    mso-margin-top-alt:auto;
    mso-margin-bottom-alt:auto;
    margin-left:0cm;
    mso-pagination:widow-orphan;
    mso-outline-level:2;
    font-size:14.0pt;
    font-family:Arial;
    font-weight:bold;}
a:link, span.MsoHyperlink
    {color:blue;
    mso-text-animation:none;
    text-decoration:none;
    text-underline:none;
    text-decoration:none;
    text-line-through:none;}
a:visited, span.MsoHyperlinkFollowed
    {color:blue;
    mso-text-animation:none;
    text-decoration:none;
    text-underline:none;
    text-decoration:none;
    text-line-through:none;}
p
    {margin-right:0cm;
    mso-margin-top-alt:auto;
    mso-margin-bottom-alt:auto;
    margin-left:0cm;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:宋体;
    mso-bidi-font-family:"Times New Roman";}
address
    {margin:0cm;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:宋体;
    font-style:italic;}
pre
    {margin:0cm;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
    font-size:10.0pt;
    font-family:黑体;
    mso-hansi-font-family:"Courier New";
    mso-bidi-font-family:"Courier New";}
/* Page Definitions */
@page
    {mso-page-border-surround-header:no;
    mso-page-border-surround-footer:no;}
@page Section1
    {size:595.3pt 841.9pt;
    margin:72.0pt 90.0pt 72.0pt 90.0pt;
    mso-header-margin:42.55pt;
    mso-footer-margin:49.6pt;
    mso-paper-source:0;
    layout-grid:15.6pt;}
div.Section1
    {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1028"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>

<body lang=ZH-CN link=blue vlink=blue style='tab-interval:21.0pt;text-justify-trim:
punctuation'>

<div class=Section1 style='layout-grid:15.6pt'>

<h2 align=center style='text-align:center'><span lang=EN-US>gd<o:p></o:p></span></h2>

<div align=center>

<table border=0 cellspacing=1 cellpadding=0 width=600 bgcolor=black
style='width:450.0pt;mso-cellspacing:.7pt;background:black;mso-padding-alt:
2.25pt 2.25pt 2.25pt 2.25pt'>
<tr>
  <td valign=top style='background:#CCCCFF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
  Arial'>GD Support</span></b><span lang=EN-US style='font-size:10.0pt;
  font-family:Arial'><o:p></o:p></span></p>
  </td>
  <td valign=top style='background:#CCCCCC;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>enabled<o:p></o:p></span></p>
  </td>
</tr>
<tr>
  <td valign=top style='background:#CCCCFF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
  Arial'>GD Version</span></b><span lang=EN-US style='font-size:10.0pt;
  font-family:Arial'><o:p></o:p></span></p>
  </td>
  <td valign=top style='background:#CCCCCC;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>1.6.2
  or higher<o:p></o:p></span></p>
  </td>
</tr>
<tr>
  <td valign=top style='background:#CCCCFF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
  Arial'>FreeType Support</span></b><span lang=EN-US style='font-size:10.0pt;
  font-family:Arial'><o:p></o:p></span></p>
  </td>
  <td valign=top style='background:#CCCCCC;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>enabled<o:p></o:p></span></p>
  </td>
</tr>
<tr>
  <td valign=top style='background:#CCCCFF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
  Arial'>FreeType Linkage</span></b><span lang=EN-US style='font-size:10.0pt;
  font-family:Arial'><o:p></o:p></span></p>
  </td>
  <td valign=top style='background:#CCCCCC;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>with
  TTF library<o:p></o:p></span></p>
  </td>
</tr>
<tr>
  <td valign=top style='background:#CCCCFF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
  Arial'>JPG Support</span></b><span lang=EN-US style='font-size:10.0pt;
  font-family:Arial'><o:p></o:p></span></p>
  </td>
  <td valign=top style='background:#CCCCCC;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>enabled<o:p></o:p></span></p>
  </td>
</tr>
<tr>
  <td valign=top style='background:#CCCCFF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
  Arial'>PNG Support</span></b><span lang=EN-US style='font-size:10.0pt;
  font-family:Arial'><o:p></o:p></span></p>
  </td>
  <td valign=top style='background:#CCCCCC;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>enabled<o:p></o:p></span></p>
  </td>
</tr>
<tr>
  <td valign=top style='background:#CCCCFF;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
  Arial'>WBMP Support</span></b><span lang=EN-US style='font-size:10.0pt;
  font-family:Arial'><o:p></o:p></span></p>
  </td>
  <td valign=top style='background:#CCCCCC;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>enabled<o:p></o:p></span></p>
  </td>
</tr>
</table>

</div>

<p class=MsoNormal><span lang=EN-US><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>

</div>

</body>

</html>

  你发奋努力,熟悉了安全方面的问题,然后又设计了一些程序,感觉还不错。
作者: 透明    时间: 2015-2-4 09:24
我还是强烈建议自己搭建php环境。因为在搭建的过程中你会遇到一些问题,通过搜索或是看php手册解决问题后,你会更加深刻的理解它们的工作原理,了解到php配置文件中的一些选项设置。
作者: 冷月葬花魂    时间: 2015-2-5 12:38
如果你已经到这种程度了,那么你已经可以做我的老师了。其实php也分很多的区域,
作者: 乐观    时间: 2015-2-6 22:05
我还是推荐用firefox ,配上firebug 插件调试js能省下不受时间。谷歌的浏览器最好也不少用,因为谷歌的大侠们实在是太天才啦,把一些原来的js代码加了一些特效。
作者: 海妖    时间: 2015-2-7 04:23
首先我是坚决反对新手上来就用框架的,因为对底层的东西一点都不了解,造成知识上的真空,会对以后的发展不利。我的观点上手了解下框架就好,代码还是手写。当然啦如果是位别的编程语言的高手的话,这个就另当别论啦。
作者: 柔情似水    时间: 2015-2-11 20:31
多看优秀程序员编写的代码,仔细理解他们解决问题的方法,对自身有很大的帮助。
作者: 若天明    时间: 2015-3-1 13:48
我还是强烈建议自己搭建php环境。因为在搭建的过程中你会遇到一些问题,通过搜索或是看php手册解决问题后,你会更加深刻的理解它们的工作原理,了解到php配置文件中的一些选项设置。
作者: 金色的骷髅    时间: 2015-3-6 15:43
我要在声明一下:我是个菜鸟!!我对php这门优秀的语言也是知之甚少。但是我要在这里说一下php在网站开发中最常用的几个功能:
作者: 仓酷云    时间: 2015-3-13 03:52
环境搭建好,当你看见你的浏览器输出“it works\\\\\\\"时你一定是喜悦的。在你解决问题的时候,我强烈建议多读php手册。
作者: 老尸    时间: 2015-3-20 11:31
如果你已经到这种程度了,那么你已经可以做我的老师了。其实php也分很多的区域,
作者: 变相怪杰    时间: 2015-4-10 08:27
先学习php和mysql,还有css(html语言很简单)我认为现在的效果比以前的方法好。
作者: 兰色精灵    时间: 2015-4-16 14:21
说php的话,首先得提一下数组,开始的时候我是最烦数组的,总是被弄的晕头转向,不过后来呢,我觉得数组里php里最强大的存储方法,所以建议新手们要学好数组。
作者: 因胸联盟    时间: 2015-4-16 15:09
Ps:以上纯属原创,如有雷同,纯属巧合
作者: 小妖女    时间: 2015-4-17 21:45
曾经犯过一个很低级的错误,我在文件命名的时候用了一个横线\\\\\\\'-\\\\\\\' 号,结果找了好几个小时的错误,事实是命名的时候 是不能用横线 \\\\\\\'-\\\\\\\' 的,应该用的是下划线  \\\\\\\'_\\\\\\\' ;
作者: 只想知道    时间: 2015-4-18 00:25
对于初学者来说不推荐去拿钱买的。当然如果一个网站你经常去用,而且里面的资料也比较有用,最好还是买个会员比较好,毕竟那些也是别人的工作成果。
作者: 简单生活    时间: 2015-4-20 20:26
个人呢觉得,配wamp 最容易漏的一步就是忘了把$PHP$目录下的libmysql.dll拷贝到windows系统目录的system32目录下,还有重启apache。
作者: 再现理想    时间: 2015-4-21 08:03
曾经犯过一个很低级的错误,我在文件命名的时候用了一个横线\\\\\\\'-\\\\\\\' 号,结果找了好几个小时的错误,事实是命名的时候 是不能用横线 \\\\\\\'-\\\\\\\' 的,应该用的是下划线  \\\\\\\'_\\\\\\\' ;
作者: 分手快乐    时间: 2015-4-21 15:54
刚开始安装php的时候,我图了个省事,把php的扩展全都打开啦(就是把php.ini 那一片 extension 前面的冒号全去掉啦),这样自然有好处,以后不用再需要什么功能再来打开。
作者: 小女巫    时间: 2015-5-11 06:50
曾经犯过一个很低级的错误,我在文件命名的时候用了一个横线\\\\\\\'-\\\\\\\' 号,结果找了好几个小时的错误,事实是命名的时候 是不能用横线 \\\\\\\'-\\\\\\\' 的,应该用的是下划线  \\\\\\\'_\\\\\\\' ;
作者: 愤怒的大鸟    时间: 2015-6-11 19:27
找到的的资料很多都是在论坛里的,需要注册,所以我一般没到一个论坛都注册一个id,所有的id都注册成一样的,这样下次再进来的时候就不用重复注册啦。当然有些论坛的某些资料是需要的付费的。




欢迎光临 仓酷云 (http://ckuyun.com/) Powered by Discuz! X3.2