• <i id='hQayV'><tr id='hQayV'><dt id='hQayV'><q id='hQayV'><span id='hQayV'><b id='hQayV'><form id='hQayV'><ins id='hQayV'></ins><ul id='hQayV'></ul><sub id='hQayV'></sub></form><legend id='hQayV'></legend><bdo id='hQayV'><pre id='hQayV'><center id='hQayV'></center></pre></bdo></b><th id='hQayV'></th></span></q></dt></tr></i><div id='hQayV'><tfoot id='hQayV'></tfoot><dl id='hQayV'><fieldset id='hQayV'></fieldset></dl></div>
    <tfoot id='hQayV'></tfoot>
  • <legend id='hQayV'><style id='hQayV'><dir id='hQayV'><q id='hQayV'></q></dir></style></legend>

      <bdo id='hQayV'></bdo><ul id='hQayV'></ul>
    1. <small id='hQayV'></small><noframes id='hQayV'>

        安全的 PHP 文件上传脚本

        Secure PHP File Upload Script(安全的 PHP 文件上传脚本)
        <tfoot id='iCCDK'></tfoot>

          • <legend id='iCCDK'><style id='iCCDK'><dir id='iCCDK'><q id='iCCDK'></q></dir></style></legend>
            1. <i id='iCCDK'><tr id='iCCDK'><dt id='iCCDK'><q id='iCCDK'><span id='iCCDK'><b id='iCCDK'><form id='iCCDK'><ins id='iCCDK'></ins><ul id='iCCDK'></ul><sub id='iCCDK'></sub></form><legend id='iCCDK'></legend><bdo id='iCCDK'><pre id='iCCDK'><center id='iCCDK'></center></pre></bdo></b><th id='iCCDK'></th></span></q></dt></tr></i><div id='iCCDK'><tfoot id='iCCDK'></tfoot><dl id='iCCDK'><fieldset id='iCCDK'></fieldset></dl></div>
                <bdo id='iCCDK'></bdo><ul id='iCCDK'></ul>

                    <tbody id='iCCDK'></tbody>

                  <small id='iCCDK'></small><noframes id='iCCDK'>

                  本文介绍了安全的 PHP 文件上传脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想我已经问过这个问题两次了,但这是我第一次接近这个问题.我计划允许用户上传和下载他们的文件(.pdf、.doc、.exl、.ppt、.png、.jpg、.gif).

                  I have asked this question twice i think, but this is the first time i have gotten close to this. I am planning on allowing users to upload and download their files (.pdf, .doc, .exl, .ppt, .png, .jpg, .gif).

                  这些提示是否足够:

                  http://blogs.sans.org/appsecstreetfighter/2009/12/28/8-basic-rules-to-implement-secure-file-uploads/

                  另外,有没有我可以使用的脚本,我是 php 新手.

                  Also, is there a script I can utilize, i am new to php.

                  推荐答案

                  反应迟了,但我认为你的脚本应该基于此:http://blog.insicdesigns.com/2009/01/secure-file-upload-in-php-web-applications/

                  a late response, but i think your script should be based on this: http://blog.insicdesigns.com/2009/01/secure-file-upload-in-php-web-applications/

                  它涵盖了安全的所有方面并解释了所有有效点.我希望这会有所帮助.

                  it covers all aspects of security and explains all valid points. I hope this helps.

                  以上链接已失效,这里是那篇文章的缓存版本.

                  这篇关于安全的 PHP 文件上传脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  PHP Upload File Validation(PHP 上传文件验证)
                  PHP Error - Uploading a file(PHP 错误 - 上传文件)
                  How can I write tests for file upload in PHP?(如何在 PHP 中编写文件上传测试?)
                  php resizing image on upload rotates the image when i don#39;t want it to(php在上传时调整图像大小会在我不想要它时旋转图像)
                  How to send additional data using PLupload?(如何使用 PLupload 发送附加数据?)
                  change button text in js/ajax after mp4 =gt;mp3 conversion in php(在 php 中的 mp4 =gt;mp3 转换后更改 js/ajax 中的按钮文本)

                  <small id='SzrIA'></small><noframes id='SzrIA'>

                      <i id='SzrIA'><tr id='SzrIA'><dt id='SzrIA'><q id='SzrIA'><span id='SzrIA'><b id='SzrIA'><form id='SzrIA'><ins id='SzrIA'></ins><ul id='SzrIA'></ul><sub id='SzrIA'></sub></form><legend id='SzrIA'></legend><bdo id='SzrIA'><pre id='SzrIA'><center id='SzrIA'></center></pre></bdo></b><th id='SzrIA'></th></span></q></dt></tr></i><div id='SzrIA'><tfoot id='SzrIA'></tfoot><dl id='SzrIA'><fieldset id='SzrIA'></fieldset></dl></div>
                        <tbody id='SzrIA'></tbody>
                    • <tfoot id='SzrIA'></tfoot>

                          • <bdo id='SzrIA'></bdo><ul id='SzrIA'></ul>
                            <legend id='SzrIA'><style id='SzrIA'><dir id='SzrIA'><q id='SzrIA'></q></dir></style></legend>