Keeping track of php uploads


Posted on 16th Feb 2014 07:03 pm by admin

Hello all.

I was looking at the way PHP handles file uploads.
It seems that PHP uses a temporarily directory and file name for file uploads.
e.g. /var/www/virtual/SITE/phptmp/phpMhOniL

This file is deleted/moved straight after the upload finished.
Now I was wondering what this file looks like, so I decided to log on with filezilla, navigate to that dir, upload a HUGE file with php (takes a lot of time), and then refresh the directory listing in filezilla.

To my suprise: No file to be found... (exept for some sessions)

How is this possible?
How can the move_uploaded_file function work, while I cant find the file?

I hope someone can help me out.

No comments posted yet

Your Answer:

Login to answer
252 Like 54 Dislike
Previous forums Next forums
Other forums

Pls help with PHP
Pls can anyone direct me on how to create a user account for a customer. For example i want know if

some query on multilingual website
Hi all,

Which is the simplest and easiest method to make a website multilingual,
is it put

Custom Container in module pool program
Hello everyone,

I have created a custom control in my module pool screen. Now I want to s

Multi dimensional arrays
If I put in this code:

1
2
3
4
5
6
7
8
9
10
11
12
13<

Mail Form receiving emails with no content
Hi, I hope someone here can help me.
I have a simple form in my website, it was working OK, after

Better Method of a Member Cloud
I assume most people know how tag clouds work, where the tags most used are bigger and the least use

Need PHP help... have all the elements... just need help putting them together :
Hey Guys,

I was wondering if someone could help me. I am doing a website for a client which

Last Weeks sDate and eDate.
sDate - Start Date
eDate - End Date

I need to pull two dates for "Last Week" whi

MySQL noob question
hi guys

I have a simple mysql table set up, along the lines of

Col 1 - Col 2 - Date_l

cyrillic string conversion question
Hello,

First time here...

I would like to know if there is a way to convert a

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash