
PHP
Odysseus_110
这个作者很懒,什么都没留下…
展开
-
php连接access
php 连接 access 的 demo: <? $conn = new COM("ADODB.Connection") or die("Cannot start ADO"); // Microsoft Access connection string. $conn->Open("DRIVER={Microsoft Access Driver(*.mdb)...2008-07-03 09:10:36 · 442 阅读 · 0 评论 -
php页面跳转
页面跳转函数PHP中重新定向到另一个页面 作者:Hunte 来源:Phpuser.com 如何在PHP中从一个页面重定向到另外一个页面呢?这里列出了三种办法,供参考。 一、用HTTP头信息 也就是用PHP的HEADER函数。PHP里的HEADER函数的作用就是向浏览器发出由HTTP协议规定的本来应该通过WEB服务器的控制指令,例如声 明返回信息的类型("Context-type: ...2008-07-04 08:48:02 · 283 阅读 · 0 评论 -
php读取文件
1。php存文件的时候$testfilename2居然是非要单引号才行,要不然用双引号会报错,以后用变量的时候应该多用单引号 $testfilename2='D:\ProgramFiles2\AppServ\www\catch28\admin\testmethod6.html';//文件名,可以为.php或者.txt等文本文件 file_put_contents($testfile...原创 2011-02-05 23:26:46 · 173 阅读 · 0 评论 -
Gmail treat sub-domains as spam
今天测试给gmail发送邮件时候,开始总是被gmail列入到spam中, 后来找到他们的文档 http://support.google.com/mail/bin/answer.py?hl=en&answer=1366858 Phishing scams Some spammers send fraudulent messages that try to trick you in...2012-05-13 16:52:09 · 598 阅读 · 0 评论 -
PHP, The difference between single and double quotes
Well first of all, single quotes are much more efficient than double quotes, which is shown in the results from a simple test, which you can find here:http://phpbar.isgreat.org/viewtopic.php?f=2&...原创 2012-07-21 21:19:45 · 201 阅读 · 0 评论