$_POST['a']得到的是本地的文件名及路径

解决方案 »

  1.   

    不可以打开啊test.php 得到 $a=C:\\Documents and Settings\\Administrator\\My Documents\\3.txt然后用
    $fp=fopen($a,"r");显示错误:
    Warning: fopen("C:\\Documents and Settings\\Administrator\\My Documents\\3.txt", "r") - No such file or directory 估计是因为"C:\\Documents and Settings\\Administrator\\My Documents\\3.txt" 和 test.php 不在同一台机子上的原因到底要如何读去上传的文件的内容呢?应该是很常用的,麻烦哪位告诉我,谢谢!~~