upload_tmp_dir ayarlanır ancak bulunabilir için hiçbir yerde dosyası

0 Cevap php

I have a few image upload scripts and wordpress blog as well. I think the client tried to upload a 3mb+ images or so and since then everythings stopped working, to further inspection and adding error handlers i found out that

Bu UPLOAD SICAKLIK DIR BULUNAMADI değildi

i, ini dosyası dokunamayacaklarını onun hosting ama yerel bir ini dosyası oluşturabilirsiniz

i've been told to add php.ini in the public_html folder it only works i.e prints out the upload_tmp_dir when its in the same folder as the script anyway

i put this in the ini file upload_tmp_dir = "/home/USER/tmp" also tried upload_tmp_dir = "/home/USER/public_html/tmp"

tmp klasörü oldu ama nerede 777 izinlerine sahip başka oluştururken denedim ama nerede ilk biridir

leave ini in same folder as the script and calling echo ini_get('upload_tmp_dir');

gives me: [given i set it to that] /home/USER/tmp

sys_get_temp_dir ();

gave me /tmp

anyway NOW i get no errors, says file is uploaded but its no where to be found. not sure WTF is going on but clients wrecking my head and so is this.

0 Cevap