如题,请高手给分析一下,看了以前好的一个贴,但里面的方法都不好使

解决方案 »

  1.   

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    </head><body>
    <form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
    <input name="file" type="file" onkeydown="return false;"/>
    </form>
    </body>
    </html>右键粘贴问题 有待解决
      

  2.   

    右键问题也解决了 
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    </head><body>
    <form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
    <input name="file" type="file" onkeydown="return false;" oncontextmenu="return false;" onmousedown="return false;"/>
    </form>
    </body>
    </html>
      

  3.   

    加上右键粘贴 onpaste="return false",但如果对方浏览器设置不允许脚本运行,就