摘要: 什么是smarty? Smarty是一个使用PHP写出来的模板PHP模板引擎,由PHP.net官方提供,它提供了逻辑与外在内容的分离,简单的讲,目的就是要使用PHP程序员同美工分离,使用的程序员改变程序的逻辑内容不会影响到美工的页面设计,美工重新修改页面不会影响到程序的程序逻辑,这在多人合作的项目中... 阅读全文
posted @ 2015-07-14 11:15 我辈年轻 阅读(395) 评论(0) 推荐(0)
摘要: '; } ?> 阅读全文
posted @ 2015-07-13 16:36 我辈年轻 阅读(116) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-07-13 15:46 我辈年轻 阅读(143) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-07-13 14:44 我辈年轻 阅读(179) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-07-13 14:31 我辈年轻 阅读(147) 评论(0) 推荐(0)
摘要: 标签之前 语法: setcookie(name , value,expire,path,aomain); 如何删除cookie 删除cookie应当使过期日期变更为过去的时间点*/... 阅读全文
posted @ 2015-07-13 14:08 我辈年轻 阅读(136) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-07-13 11:36 我辈年轻 阅读(162) 评论(0) 推荐(0)
摘要: php部分: 0) { echo "Return Code: " . $_FILES["file"]["error"] . ""; } else { /* 第一个参数是表单的 inp... 阅读全文
posted @ 2015-07-11 17:40 我辈年轻 阅读(182) 评论(0) 推荐(0)
摘要: "; } $myfile2=fopen("testfile.txt","w")or die("unable to open file!"); $txt="Mickey Mouse\n"; fwrite($myfile2,$txt); $txt="Minnie ... 阅读全文
posted @ 2015-07-11 16:58 我辈年轻 阅读(405) 评论(0) 推荐(0)
摘要: "; //PHP Open File - fopen() $myfile=fopen("webdictionary.txt","r")or die("unable to open file!"); echo fread($myfile,filesize("webdicti... 阅读全文
posted @ 2015-07-11 16:17 我辈年轻 阅读(279) 评论(0) 推荐(0)