Hi all,
a little prolem with file-upload. I am uploading files by http and so i use the global var $HTTP_POST_FILES to handle everthing. When i do following:
<?
echo $HTTP_POST_FILES['tmp_name'];
?>
i get :
/tmp/phpaVAAr2
as you can see the file has been uploaded to the directory "/tmp".
My Q is now, how can i change this dir so that the file is being uploaded to a differnt directory by default. (e.g: /var/www/testdir/)
Thanks in advance
ali