<?xml version="1.0" encoding="gb2312"?>
<rss version="2.0">
<channel>
<title>常见问题</title>
<link>/html/edu/php/php6/index.html</link>
<description>编程开发 / PHP / 常见问题</description>
<language>zh-cn</language>
<generator>&lt;a href='http://www.souzz.net' target='_blank'&gt;搜站长&lt;/a&gt;</generator>
<webmaster>lyjrich@sina.com</webmaster>
<item>
    <title>缺陷月项目启动 披露PHP脚本语言漏洞</title>
    <link>/html/edu/php/php6/22842.html</link>
    <description>一名安全研究人员启动了一个新项目，披露PHP脚本语言漏洞。 名为Month of PHP Bugs的这一项目的启动时间是上周四。据该项目的网站称，迄今为止，已经披露了5个缺陷，其中一些缺陷可能使运行PHP的系统的安全性受到影响。 知名PHP安全专家埃塞在该项目的网站上表示，这一</description>
    <pubDate>2007-03-09</pubDate>
    <category>常见问题</category>
    <author>秩名</author>
    <comments>CNET</comments>
</item>
<item>
    <title>php代码优化及php相关问题总结</title>
    <link>/html/edu/php/php6/7110.html</link>
    <description>1,在函数中,传递数组时 使用 return 比使用 global 要高效 比如 function userloginfo($usertemp){ $detail=explode(&quot;|&quot;,$usertemp); return $detail; } $login=userloginfo($userdb); 比 function userloginfo($usertemp){ global $detail; $detail=explode(&quot;|&quot;,$user</description>
    <pubDate>2005-12-17</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>phpx</comments>
</item>
<item>
    <title>Php部分常见问题总结</title>
    <link>/html/edu/php/php6/7087.html</link>
    <description>1:为什么我得不到变量 我在一网页向另一网页POST数据name，为什么输出$name时却得不到任何值? 在PHP4.2以后的版本中register_global默认为off 若想取得从另一页面提交的变量: 方法一:在PHP.ini中找到register_global，并把它设置为on. 方法二:在接收网页最前面放上这个</description>
    <pubDate>2005-12-15</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>国际村</comments>
</item>
<item>
    <title>PHP程序的常见漏洞攻击分析</title>
    <link>/html/edu/php/php6/7042.html</link>
    <description>综述： PHP程序也不是固若金汤，随着PHP的广泛运用，一些黑客们也在无时不想找PHP的麻烦，通过PHP程序漏洞进行攻击就是其中一种。在节，我们将从全局变量，远程文件，文件上载，库文件，Session文件，数据类型和容易出错的函数这几个方面分析了PHP的安全性。 如何通过</description>
    <pubDate>2005-12-07</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>magazine.nsfocus</comments>
</item>
<item>
    <title>PHP,MYSQL常见问题与解答</title>
    <link>/html/edu/php/php6/6996.html</link>
    <description>=== register_globals[全局变量]的相关说明 很多入门的朋友被全局变量搞的很糊涂,可以参考以下的说明: CODE 决定是否将 EGPCS（Environment，GET，POST，Cookie，Server）变量注册为全局变量。例如，如果 register_globals = on，那么 URL http://www.example.com/test</description>
    <pubDate>2005-12-05</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>PHP 常见郁闷问题答解</title>
    <link>/html/edu/php/php6/3244.html</link>
    <description>在PHP4.2以后的版本中register_global默认为off 若想取得从另一页面提交的变量: 方法一:在PHP.ini中找到register_global，并把它设置为on. 方法二:在接收网页最前面放上这个extract($_POST);extract($_GET);(注意extract($_SESSION)前必须要有Session_Start()). 方法三</description>
    <pubDate>2005-10-10</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>喜悦村</comments>
</item>
<item>
    <title>PHP初学者头疼问题总结</title>
    <link>/html/edu/php/php6/3222.html</link>
    <description>【1】页面之间无法传递变量 get,post,session在最新的php版本中自动全局变量是关闭的，所以要从上一页面取得提交过来得变量要使用$_GET['foo'],$_POST['foo'],$_SESSION['foo']来得到 当然也可以修改自动全局变量为开(php.ini改为register_globals = On)；考虑到兼容性</description>
    <pubDate>2005-10-09</pubDate>
    <category>常见问题</category>
    <author>wzpwhw</author>
    <comments>中文PHP论坛</comments>
</item>
<item>
    <title>PHP操作文件问答</title>
    <link>/html/edu/php/php6/3224.html</link>
    <description>问：如何新建一个文件？ 答： 1、使用fopen(&quot;要建立的文件名&quot;,&quot;参数&quot;)，参数可选w,w+,a,a+ 2、使用exec(&quot;echo '' 要建立的文件名&quot;);这样是使用系统方式建立这个文件，你还可以使用touch这个linux命令来建立 问：为什么我无法建立文件？ 答： 1、如果你使用了fopen建立</description>
    <pubDate>2005-10-09</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>CSDN</comments>
</item>
<item>
    <title>apache中.htaccess文件的功能写法</title>
    <link>/html/edu/php/php6/3225.html</link>
    <description>-.htaccess文件(或者&quot;分布式配置文件&quot;提供了针对目录改变配置的方法，即，在一个特定的文档目录中放置一个包含一个或多个指令的文件，以作用于此目录及其所有子目录。作为用户，所能使用的命令受到限制。管理员可以通过Apache的AllowOverride指令来设置。 -子目录中的</description>
    <pubDate>2005-10-09</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>www.apache.org</comments>
</item>
<item>
    <title>解决不能通过mysql.sock连接MySQL问题的办法</title>
    <link>/html/edu/php/php6/3226.html</link>
    <description>这个问题主要提示是，不能通过'/tmp/mysql.sock'连到服务器，而php标准配置正是用过'/tmp/mysql.sock'，但是一些mysql安装方法将mysql.sock放在/var/lib/mysql.sock或者其他的什么地方，你可以通过修改/etc/my.cnf文件来修正它，打开文件，可以看到如下的东东： [mysqld</description>
    <pubDate>2005-10-09</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>彻底杜绝warning: Cannot add header information - headers already sent in......</title>
    <link>/html/edu/php/php6/3229.html</link>
    <description>彻底杜绝warning: Cannot add header information - headers already sent in...... 标题:彻底杜绝warning: Cannot add header information - headers already sent in...... 作者:esayr 出自:www.phpv.net--PHP研究室 只要你写过PHP代码,相信都遇上过这个大多时候都令</description>
    <pubDate>2005-10-09</pubDate>
    <category>常见问题</category>
    <author>esayr</author>
    <comments>www.phpv.net</comments>
</item>
<item>
    <title>session_register()出错的解决办法</title>
    <link>/html/edu/php/php6/3237.html</link>
    <description>错误提示：Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled</description>
    <pubDate>2005-10-09</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>为什么我在点击浏览器的后退按钮后，所有字段的信息都被清空了？</title>
    <link>/html/edu/php/php6/2419.html</link>
    <description></description>
    <pubDate>2005-08-31</pubDate>
    <category>常见问题</category>
    <author>搜站长</author>
    <comments>搜站长</comments>
</item>
<item>
    <title>如何用正则表达式来表示中文?</title>
    <link>/html/edu/php/php6/2418.html</link>
    <description></description>
    <pubDate>2005-08-31</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>怎样才能删除数组的最后一个元素?</title>
    <link>/html/edu/php/php6/1466.html</link>
    <description></description>
    <pubDate>2005-08-24</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>请问如何用php通过odbc连到access数据库上?</title>
    <link>/html/edu/php/php6/574.html</link>
    <description>:我想用php通过odbc连到access数据库上， :可是在设置dsn时，不知道怎么弄，我用系统dsn好使 :不过我用的是虚拟主机，不能用系统dsn呀~ :能不能用文件dsn，怎么设置呀？ :$this-LinkID=odbc_connect($dsn,&quot;&quot;,&quot;&quot;); : :...... PHP4已经支持Microsoft的COM技术。然而文档中</description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>网易虚拟社区 广州站</comments>
</item>
<item>
    <title>为什么我得不到变量</title>
    <link>/html/edu/php/php6/576.html</link>
    <description></description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>这是什么错误</title>
    <link>/html/edu/php/php6/578.html</link>
    <description></description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>如何截取指定长度汉字而不会出现以</title>
    <link>/html/edu/php/php6/579.html</link>
    <description>一般来说,要截取的变量来自Mysql,首先要保证那个字段长度要足够长,一般为char(200),可以保持100个汉字，包括标点. PHP代码:-------------------------------------------------------------------------------- =$start+$len) break; if(ord(substr($str,$i,1))0xa0) {</description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>如何使Html/PHP格式的字符串不被解释,而是照原样显示</title>
    <link>/html/edu/php/php6/582.html</link>
    <description></description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>为什么我升级PHP后,原来的程序出现满屏的 Notice: Undefined variable:</title>
    <link>/html/edu/php/php6/588.html</link>
    <description></description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>如何利用PHP上传文件</title>
    <link>/html/edu/php/php6/590.html</link>
    <description>请选择文件： $file_size_max) { echo &quot;对不起，你的文件容量大于规定&quot;; exit; } // 检查读写文件 if (file_exists($store_dir . $upload_file_name) !$accept_overwrite) { Echo &quot;存在相同文件名的文件&quot;; exit; } //复制文件到指定目录 if (!move_uploaded_file($uploa</description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>什么是UBB代码</title>
    <link>/html/edu/php/php6/591.html</link>
    <description></description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>如何从数据库读取三天内的所有记录</title>
    <link>/html/edu/php/php6/594.html</link>
    <description></description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>如何远程链接Mysql数据库</title>
    <link>/html/edu/php/php6/595.html</link>
    <description></description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>用Apache后,主页出现乱码</title>
    <link>/html/edu/php/php6/596.html</link>
    <description></description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>为什么我得不到变量</title>
    <link>/html/edu/php/php6/598.html</link>
    <description></description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>
<item>
    <title>php编写大型网站问题集</title>
    <link>/html/edu/php/php6/410.html</link>
    <description>PHP以其易用性得到迅速的推广，但易用并不是说就能用好它，实际上许多程序员用它很容易的立一个个WEB应用系统，但又有多少人仔细的考虑过他们的代码，是否容易维护、是否足够健壮、否效率足够高、是否足够安全，当PHP用于建立大型网站时这些就成为很关键的因素。下面</description>
    <pubDate>2005-08-18</pubDate>
    <category>常见问题</category>
    <author>未知</author>
    <comments>搜站长搜集</comments>
</item>

</channel>
</rss>
