mongodb - web.py檔上傳
web.py檔案上傳取得到上傳檔案之後讀取並寫到另一個檔案去fout = open(filedir + "/" + saveName, "wb") fout.write(fileInput[inputName].file.read() ) 我把上傳之後的檔案與來源檔案做比較用md5摘要有的來源...
阿神 2017-04-26 09:01:21 0 1 427
php - URL重写 根据域名显示不同内容
目前apache伪静态URL重写.htaccess里是下面规则:http://www.abc.com ---> index.phphttp://www.abc.com/late/ ---> ./filedir/late.php?p=1http://www.abc.com/popular/ ---> ./filedir/popular.php?p=...
高洛峰 2017-04-10 15:23:46 0 2 396