hi.
RE
: if allow, please change the “upload_tmp_dir”
setting to a location which your site has the write/read
permission
i answred to later answer, 755 means write/read permission?!!! if
not what is read/write permission number?
Thanks for answering .
hi
1-my selected file for upload on host is only 3 kb (1.png) for example and i am sure codes not problem becase worked on my wamp on my pc.
2- i checked settings on host by these code :
- <?php
- echo"upload_tmp_dir:".ini_get("upload_tmp_dir")."<br>";
- echo"file_uploadsstate:".ini_get("file_uploads")."<br>";
- echo"upload_max_filesize:".ini_get("upload_max_filesize")."<br>";
- echo"max_input_time:".ini_get("max_input_time")."<br>";
- echo"memory_limit:".ini_get("memory_limit")."<br>";
- echo"max_execution_time:".ini_get("max_execution_time")."<br>";
- echo"post_max_size:".ini_get("post_max_size")."<br>";
- echo"<hr>";
- echo"phpinfo:<br>";
- echophpinfo();
- ?>
and you can see result in this link :
http://video.barnameha.net/1.php3- i checked permission folder of /tmp (means same returend upload_tmp_dir path) and default was 755 .
755 means is allowed ?!!! (i don't know)
4- phpinfo returned empty result on host ( i think for security disbaled from server) .
5- i am waiting for your answer , please help me .thanks
Your answer :
Hi,
If allow, please change the “upload_tmp_dir” setting to a location which your site has the write/read permission.
Also, you can try set the TempDirectory for the uploader control and try again.
$uploader->TempDirectory="/myTemp";
$uploader->TempDirectory="D:/phpuploader/test/";