On my webserver I don't have access to the
/tmp dir where this cgi scripts uploads his files
i do have acces to
/home/aswin/temp
How do I change the tmpdir?
If I change it in the header, I only find these 3 files
but my uploaded file,
$post_data_file = "$tmp_dir/$sessionid"."_postdata";
$monitor_file = "$tmp_dir/$sessionid"."_flength";
$signal_file = "$tmp_dir/$sessionid"."_signal";
but my tmp file (tmp_name[name][0])
is still
/tmp/ULPrM0ky9
In php I can't rename / copy / move / access the file.
And I don't understand perl..
Can someone help me to change the tempdir /tmp into
/home/aswin/temp ?
thx a lot.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On my webserver I don't have access to the
/tmp dir where this cgi scripts uploads his files
i do have acces to
/home/aswin/temp
How do I change the tmpdir?
If I change it in the header, I only find these 3 files
but my uploaded file,
$post_data_file = "$tmp_dir/$sessionid"."_postdata";
$monitor_file = "$tmp_dir/$sessionid"."_flength";
$signal_file = "$tmp_dir/$sessionid"."_signal";
but my tmp file (tmp_name[name][0])
is still
/tmp/ULPrM0ky9
In php I can't rename / copy / move / access the file.
And I don't understand perl..
Can someone help me to change the tempdir /tmp into
/home/aswin/temp ?
thx a lot.
set the folder in header.cgi
You also have to set it in upload2.php :) just search for /tmp/ in that file and replace with /path/to/tmp
:)
setting the folder in header.cgi does not change the place where the file is created at last.
I guess you should know that...
i'm still looking for a solution (cf. my reply to aswin in the help forum)