Upload dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How can i change the temporary upload directory?
var_dump(ini_get('upload_tmp_dir'));      gives me (and that is set in php.ini)
string '/var/www/cgi-bin' (length=16)

but
var_dump($_FILES)                                                     gives me
'tmp_name' => string '/tmp/phpbSZ6WP' (length=14)

var_dump(file_exists($_FILES['file']['tmp_name']));  gives me  (/tmp
has permissions drwxrwxrwt and i never used file_move_upload or any
similar functions)
boolean false

am I missing something here?
Kranthi.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux