Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
HTMLフォームを介してファイルをアップロードする際のデフォルトの一時パスを変更する方法はありますか. $_FILES["uploadfile1"]['tmp_name']または、自分の好みで設定したいので理解できます。
$_FILES["uploadfile1"]['tmp_name']
php.iniの変更時upload_tmp_dir
upload_tmp_dir
おそらく、php.iniで変更せずに、コードで直接設定できます。 ini_set('upload_tmp_dir','/new temp folder'); しかし、私はそれがうまくいくかどうか100%確信していません。
おそらく、php.iniで変更せずに、コードで直接設定できます。
ini_set('upload_tmp_dir','/new temp folder');
しかし、私はそれがうまくいくかどうか100%確信していません。