﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-lhm108</title><link>http://www.cnitblog.com/lhm108/</link><description /><language>zh-cn</language><lastBuildDate>Wed, 29 Apr 2026 10:15:34 GMT</lastBuildDate><pubDate>Wed, 29 Apr 2026 10:15:34 GMT</pubDate><ttl>60</ttl><item><title>php大文件上传问题</title><link>http://www.cnitblog.com/lhm108/archive/2008/05/26/44344.html</link><dc:creator>留声机</dc:creator><author>留声机</author><pubDate>Mon, 26 May 2008 07:21:00 GMT</pubDate><guid>http://www.cnitblog.com/lhm108/archive/2008/05/26/44344.html</guid><wfw:comment>http://www.cnitblog.com/lhm108/comments/44344.html</wfw:comment><comments>http://www.cnitblog.com/lhm108/archive/2008/05/26/44344.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/lhm108/comments/commentRss/44344.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/lhm108/services/trackbacks/44344.html</trackback:ping><description><![CDATA[<p>php上传文件涉及到的参数：</p>
<p>几个参数调整：</p>
<p>0：文件上传时存放文件的临时目录。必须是 PHP 进程所有者用户可写的目录。如果未指定则 PHP 使用系统默认值 <br>php.ini文件中upload_tmp_dir用来说明PHP上传的文件放置的临时目录。 <br>要想上传文件，得保证服务器没有关闭临时文件和有对文件夹的写权限</p>
<p>1：max_execution_time<br>变量max_execution_time设置了在强制终止脚本前PHP等待脚本执行完毕的时间，此时间以秒计算。当脚本进入了一个无限循环状态 时此变量非常有用。然而，当存在一个需要很长时间完成的合法活动时（例如上传大型文件），这项功能也会导致操作失败。在这样的情况下必须考虑将此变量值增 加，以避免PHP在脚本正在执行某些重要过程的时候将脚本关闭。<br>max_execution_time = 90</p>
<p>2：file_uploads = On<br><br>3：upload_max_filesize = 2M<br><br>4：post_max_size<br>同表单提交相关的一个变量是post_max_size，它将控制在采用POST方法进行一次表单提交中PHP所能够接收的最大数据量。似乎不大 可能需要将默认的8 MB改得更大。相反，应当适当将其降到更为实际的数值。但如果希望使用PHP文件上传功能，则需要将此值改为比upload_max_filesize还 要大。<br>post_max_size = 8M <br><br>5：max_input_time 网中人;<br>此变量可以以秒为单位对通过POST、GET以及PUT方式接收数据时间进行限制。如果应用程序所运行环境处在低速链路上，则需要增加此值以适应接收数据所需的更多时间。<br>max_input_time = 90<br><br>6：memory_limit<br>memory_limit = 8M <br>为了避免正在运行的脚本大量使用系统可用内存，PHP允许定义内存使用限额。通过memory_limit变量来指定单个脚本程序可以使用的最大内存容量<br>变量memory_limit的值应当适当大于post_max_size的值<br><br>如何实现php大文件上传： <br>一个简单的配置例子，大家可以参考下：<br>1：打开php.ini，首先找到 <br>file_uploads = on ;是否允许通过HTTP上传文件的开关。默认为ON即是开<br>upload_tmp_dir ;文件上传至服务器上存储临时文件的地方，如果没指定就会用系统默认的临时文件夹<br>upload_max_filesize = 8m ;望文生意，即允许上传文件大小的最大值。默认为2M <br>post_max_size = 8m ;指通过表单POST给PHP的所能接收的最大值，包括表单里的所有值。默认为8M <br>一般地，设置好上述四个参数后，上传&lt;=8M的文件是不成问题，在网络正常的情况下。 <br>但如果要上传&gt;8M的大体积文件，只设置上述四项还一定能行的通。除非你的网络真有100M/S的上传高速，否则你还得关心关心下面的参数 <br>max_execution_time = 600 ;每个PHP页面运行的最大时间值(秒)，默认30秒 <br>max_input_time = 600 ;每个PHP页面接收数据所需的最大时间，默认60秒 <br>memory_limit = 8m ;每个PHP页面所吃掉的最大内存，默认8M <br>把上述参数修改后，在网络所允许的正常情况下，就可以上传大体积文件了</p>
<img src ="http://www.cnitblog.com/lhm108/aggbug/44344.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/lhm108/" target="_blank">留声机</a> 2008-05-26 15:21 <a href="http://www.cnitblog.com/lhm108/archive/2008/05/26/44344.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>jsp基础学习资料</title><link>http://www.cnitblog.com/lhm108/archive/2007/10/09/34577.html</link><dc:creator>留声机</dc:creator><author>留声机</author><pubDate>Tue, 09 Oct 2007 03:53:00 GMT</pubDate><guid>http://www.cnitblog.com/lhm108/archive/2007/10/09/34577.html</guid><wfw:comment>http://www.cnitblog.com/lhm108/comments/34577.html</wfw:comment><comments>http://www.cnitblog.com/lhm108/archive/2007/10/09/34577.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/lhm108/comments/commentRss/34577.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/lhm108/services/trackbacks/34577.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在 Sun 正式发布 JSP(JavaServer Pages) 之后，这种新的 Web 应用开发技术(现在算老技术了^_^)很快引起了人们的关注。&nbsp;&nbsp;<a href='http://www.cnitblog.com/lhm108/archive/2007/10/09/34577.html'>阅读全文</a><img src ="http://www.cnitblog.com/lhm108/aggbug/34577.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/lhm108/" target="_blank">留声机</a> 2007-10-09 11:53 <a href="http://www.cnitblog.com/lhm108/archive/2007/10/09/34577.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JSP入门教程</title><link>http://www.cnitblog.com/lhm108/archive/2007/10/09/34576.html</link><dc:creator>留声机</dc:creator><author>留声机</author><pubDate>Tue, 09 Oct 2007 03:48:00 GMT</pubDate><guid>http://www.cnitblog.com/lhm108/archive/2007/10/09/34576.html</guid><wfw:comment>http://www.cnitblog.com/lhm108/comments/34576.html</wfw:comment><comments>http://www.cnitblog.com/lhm108/archive/2007/10/09/34576.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/lhm108/comments/commentRss/34576.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/lhm108/services/trackbacks/34576.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 哈哈,很长很长,用得着就看,用不着也没必要看^_^&nbsp;&nbsp;<a href='http://www.cnitblog.com/lhm108/archive/2007/10/09/34576.html'>阅读全文</a><img src ="http://www.cnitblog.com/lhm108/aggbug/34576.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/lhm108/" target="_blank">留声机</a> 2007-10-09 11:48 <a href="http://www.cnitblog.com/lhm108/archive/2007/10/09/34576.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Oracle PL/SQL入门之案例实践</title><link>http://www.cnitblog.com/lhm108/archive/2007/10/09/34575.html</link><dc:creator>留声机</dc:creator><author>留声机</author><pubDate>Tue, 09 Oct 2007 03:42:00 GMT</pubDate><guid>http://www.cnitblog.com/lhm108/archive/2007/10/09/34575.html</guid><wfw:comment>http://www.cnitblog.com/lhm108/comments/34575.html</wfw:comment><comments>http://www.cnitblog.com/lhm108/archive/2007/10/09/34575.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/lhm108/comments/commentRss/34575.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/lhm108/services/trackbacks/34575.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 前面已经了解了关于PL/SQL编程的基础，本文将结合一个案例来加深对这些知识点的理解。&nbsp;&nbsp;<a href='http://www.cnitblog.com/lhm108/archive/2007/10/09/34575.html'>阅读全文</a><img src ="http://www.cnitblog.com/lhm108/aggbug/34575.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/lhm108/" target="_blank">留声机</a> 2007-10-09 11:42 <a href="http://www.cnitblog.com/lhm108/archive/2007/10/09/34575.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Oracle PL/SQL入门之慨述</title><link>http://www.cnitblog.com/lhm108/archive/2007/10/09/34574.html</link><dc:creator>留声机</dc:creator><author>留声机</author><pubDate>Tue, 09 Oct 2007 03:38:00 GMT</pubDate><guid>http://www.cnitblog.com/lhm108/archive/2007/10/09/34574.html</guid><wfw:comment>http://www.cnitblog.com/lhm108/comments/34574.html</wfw:comment><comments>http://www.cnitblog.com/lhm108/archive/2007/10/09/34574.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/lhm108/comments/commentRss/34574.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/lhm108/services/trackbacks/34574.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 结构化查询语言(Structured Query Language，简称SQL)是用来访问关系型数据库一种通用语言，它属于第四代语言（4GL）&nbsp;&nbsp;<a href='http://www.cnitblog.com/lhm108/archive/2007/10/09/34574.html'>阅读全文</a><img src ="http://www.cnitblog.com/lhm108/aggbug/34574.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/lhm108/" target="_blank">留声机</a> 2007-10-09 11:38 <a href="http://www.cnitblog.com/lhm108/archive/2007/10/09/34574.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Oracle PL/SQL语言基础</title><link>http://www.cnitblog.com/lhm108/archive/2007/10/09/34571.html</link><dc:creator>留声机</dc:creator><author>留声机</author><pubDate>Tue, 09 Oct 2007 03:34:00 GMT</pubDate><guid>http://www.cnitblog.com/lhm108/archive/2007/10/09/34571.html</guid><wfw:comment>http://www.cnitblog.com/lhm108/comments/34571.html</wfw:comment><comments>http://www.cnitblog.com/lhm108/archive/2007/10/09/34571.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/lhm108/comments/commentRss/34571.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/lhm108/services/trackbacks/34571.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: PL/SQL是ORACLE对标准数据库语言的扩展，ORACLE公司已经将PL/SQL整合到Oracle 服务器和其他工具中了&nbsp;&nbsp;<a href='http://www.cnitblog.com/lhm108/archive/2007/10/09/34571.html'>阅读全文</a><img src ="http://www.cnitblog.com/lhm108/aggbug/34571.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/lhm108/" target="_blank">留声机</a> 2007-10-09 11:34 <a href="http://www.cnitblog.com/lhm108/archive/2007/10/09/34571.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>