HTML5先行者高级交流群

欢迎加入学习讨论
专注前端,专注网页设计制作及网站开发项目 - (低价承接网站开发项目) QQ:370158739加入收藏RSS
-
2013-12-23 09:51:04
PHP中的加密功能(3)_PHP教程_编程技术
- 需要注意的是,混编是单向功能,其结果不依赖输入,因此可以公开显示这一信息。这一策略通常用于让用户比较下载文件和系统管理员提供的文件,以确保文件的完整性。 Mhash还有其他一
-
2013-12-23 09:51:04
PHP中用Socket发送电子邮件(1)_PHP教程_编程技术
- Socket编程介绍 使用fsockopen函数打开一个Internet连接,函数语法格式: int fsockopen(string hostname, int port, int [errno], string [errstr], int [timeout]);
-
2013-12-23 09:51:02
PHP中用Socket发送电子邮件(2)_PHP教程_编程技术
- 的换行标记。 第14行,输出整条信息,同时将信息颜色置为灰色以示区别。 执行一个命令 -------------------------------------------------------------------------------- 1 fun
-
2013-12-23 09:51:02
PHP中用Socket发送电子邮件(3)_PHP教程_编程技术
- <? 1 include "sendmail.class.php3"; 2 $email="Hello, this is a test letter!"; 3 $sendmail=new send_mail("smtp.263.net", "limodou", true); //显示调示信息 4 if($send
-
2013-12-23 09:51:00
PHP中用户身份认证实现二法(2)_PHP教程_编程技术
- PHP中用户身份认证实现二法(2)AddType application/x-httpd-php4 .php3AddType application/x-httpd-php4 .php4Action application/x-httpd-php4 /php4/php.exe要想使PHP支持更
-
2013-12-23 09:50:58
功能控制完备的PHP上载程序(1)_PHP教程_编程技术
- ■主控程序 upfile.php<?#####################################################################Project Name: Test#Author : lanf #Home Page: http://lanf.yeah.net#E-mai
-
2013-12-23 09:50:56
功能控制完备的PHP上载程序(2)_PHP教程_编程技术
- $canshuZoneId=1;}else{if($canshuZoneId==0) {continue;}else{ break;}}}else{if($canshuZoneId==0) continue;}//区域选择结束$id_temp=substr($value,0,$keylength);if($id_
-
2013-12-23 09:50:56
功能控制完备的PHP上载程序(3)_PHP教程_编程技术
- get_config($configureFile,$actionid,"upload");?><html><head><title>文件管理</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></hea
-
2013-12-23 09:50:54
功能控制完备的PHP上载程序(4)_PHP教程_编程技术
- [table del]#id userfa001 lanfup lanf#这个意思是说,操作id为fa001中上传的文件,只有lanf可以删除?> ■调用页面<html><head><title>文件上传</title><meta http-equiv="Conte
-
2013-12-23 09:50:54
加固PHP环境_PHP教程_编程技术
- PHP作为Apache的模块运行时,Apache本身的安全起主导作用,因此如果配置正确的话,PHP应该是一个十分安全的环境,但是如果PHP是以CGI方式来运行的话,就没有这么安全了。 本文中提到
-
2013-12-23 09:50:52
解码mime邮件的代码_PHP教程_编程技术
- function decode_mime_string ($string) { $pos = strpos($string, '=?'); if (!is_int($pos)) { return $string; } $preceding = substr($string, 0, $pos); // save any pre
-
2013-12-23 09:50:52
免费主页管理程序_PHP教程_编程技术
- 下面的只是一些升级程序、 /*list.php3*/ <? session_start(); require("func.php3"); connect(); if (strstr($tpath,"..")) {echo "不要试图破坏我的站点";ex
-
2013-12-23 09:50:50
如何用PHP把RDF内容插入Web站点之中(2)_PHP教程_编程技术
- <lirdf:resource="http://www.melonfire.com/community/columns/trog/article.php?id=71" /><lirdf:resource="http://www.melonfire.com/community/columns/trog/article.php?
-
2013-12-23 09:50:48
如何用PHP把RDF内容插入Web站点之中(3)_PHP教程_编程技术
- }}// destroy parserxml_parser_free($xp),// opening tag handlerfunction elementBegin($parser, $name, $attributes){global $currentTag, $flag,// export the name of th
-
2013-12-23 09:50:48
如何用PHP把RDF内容插入Web站点之中(4)_PHP教程_编程技术
- // this is an array of arrays, with each array element representing an<item> // each outer array element is itself an associative array // with keys ("title", "lin
-
2013-12-23 09:50:46
如何用PHP把RDF内容插入Web站点之中(5)_PHP教程_编程技术
- if (!($fp = fopen($this->file, "r"))) {die("Could not read $this->file"),}// parse datawhile ($xml = fread($fp, 4096)) {if (!xml_parse($this->xp, $xml, feof($fp)))
-
2013-12-23 09:50:46
如何用PHP把RDF内容插入Web站点之中(6)_PHP教程_编程技术
- echo "<li><a href=" . $item["link"] . ">" .$item["title"] . "</a>",}}?></ul>每次你重新装入上面的脚本,相应的RDF文件就会被从特定的位置上取来,经过分析之后,按要求的格式显
-
2013-12-23 09:50:43
如何用PHP把RDF内容插入Web站点之中(7)_PHP教程_编程技术
- XML基础的讨论:http://www.devshed.com/Server_Side/XML/XMLBasicXSLT基础的讨论: http://www.devshed.com/Server_Side/XML/XSLBasicsPHP手册中关于SAX函数的内容: http://www.ph
-
2013-12-23 09:50:43
如何用PHP发电子邮件(1)_PHP教程_编程技术
- 一个发送E-MAIL的脚本也许是你能够在Web 站点上找到的最普通的脚本之一了,虽然它很简单,一个邮件脚本有时会令程序员非常沮丧.PHP中有一个叫做mail()的函数,它只需要知道接收方
-
2013-12-23 09:50:41
如何用PHP发电子邮件(2)_PHP教程_编程技术
- mail([接收方], [主题], [邮件主体], [头信息]); 你只需要简单的用列表中的下一个名字来替换[接收方].假设你已经有了一个电子邮件地址的数组:$addresses = array("me@mycompan
-
2013-12-23 09:50:41
PHP/MySQL 购物车程序_PHP教程_编程技术
- <? if(!$session && !$scid) { $session = md5(uniqid(rand())); SetCookie("scid", "$session", time() + 14400); } /* last number is expiration time in sec
-
2013-12-23 09:50:40
PHP实例剖析:计数器_PHP教程_编程技术
- 本款计数器用文本计数,没有用到数据库,可以实现如下功能:利用一个文本文件实现多个页的计数减少服务器的I/O占用率在需要纪录的文件里,只需加入很少的几行代码 基本思路如下:服
-
2013-12-23 09:50:40
PHP实例剖析:投票程序_PHP教程_编程技术
- 这是一个简单的投票程序,不需要数据库的支持.本程序容易理解,容易上手,是个不错的入门程序.缺点:占用服务器太多时间,有待改进.可随意使用 分析:我们利用一个文件(data.dat)