I am hoping this is a simple thing, but I can't locate the file that is being created by my upload form. The evidence is that it is being created ... the evidence coming from phpinfo() in the posting php script ...
_FILES["thefile"] Array
(
[name] => Array
(
[0] => map.jpg
)
[type] => Array
(
[0] => image/pjpeg
)
[tmp_name] => Array
(
[0] => ./\phpC7.tmp
)
[error] => Array
(
[0] => 0
)
[size] => Array
(
[0] => 47607
)
)
It is this that makes me believe that the file being created (error = 0, and other details are set). I'm unsure what make of ./\phpC7.tmp (the /\ part) in the temp filename.
Anyone who can let me know, thanks.
Wayne.
Where do temp files in form-based upload get created?
Moderator: General Moderators
-
Wayne McHugh
- Forum Newbie
- Posts: 4
- Joined: Mon Jun 23, 2003 7:12 pm
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
-
Wayne McHugh
- Forum Newbie
- Posts: 4
- Joined: Mon Jun 23, 2003 7:12 pm
Yes, I've been attempting the standard upload/move. The problem is it's tricky to work out which bit isn't working, the upload or the move.
I have just sorted out my problem. It was the windows catch that the destination can't be relative path. What I'm about to discover (I suspect) is that under Unix it must be a relative path to avoid permissions problems. Anyway, my present problem is overcome for which I am thankful.
Wayne.
I have just sorted out my problem. It was the windows catch that the destination can't be relative path. What I'm about to discover (I suspect) is that under Unix it must be a relative path to avoid permissions problems. Anyway, my present problem is overcome for which I am thankful.
Wayne.