且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

upload_tmp_dir

更新时间:2022-10-23 16:08:34

old =

ini_set(''upload_tmp_dir'',' '/ home / myusername / public_html / uploads'');

echo" old value:


old< br />&quot ;;

print_r(ini_get_all());

?>

< / pre>


和。那也没有改变它。可能是什么问题?




Mark写道:

所以,我正在尝试更改上传临时目录...我已经在我的public_html文件夹中放了一个

php.ini文件,但它似乎不是

读它..所以我尝试了这个


< pre>

<?php

so, I''m trying to change the upload temp directory... I''ve put a
php.ini file in my public_html folder, but it doesn''t seem to be
reading it..so I tried this instead

<pre>
<?php
$old =
ini_set(''upload_tmp_dir'',''/home/myusername/public_html/uploads'');
echo "old value: $old<br />";
print_r(ini_get_all());
?>
</pre>

and..that isn''t changing it either. what could be the problem?

old =
ini_set(''upload_tmp_dir'',''/home/myusername/public_html/uploads'');
echo "old value:


old<br />";
print_r(ini_get_all());
?>
</pre>

and..that isn''t changing it either. what could be the problem?



Mark wrote:
so, I''m trying to change the upload temp directory... I''ve put a
php.ini file in my public_html folder, but it doesn''t seem to be
reading it..so I tried this instead

<pre>
<?php


相关阅读