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

Automatically Detect Phone Model for WAP Jar Deployment
Making a wap site is fairly simple, but I'd like to know if there's a way to make it so that the wap

Ignore html and bbcode?
I've created a function to limit the amount of text according to the amount of words.

However

default SAP userid
hi,, I just like to know if it is ok to use the default SAP user id (SAP*)?

Array becomes unset by itself?
Hi,

I have a bit of experience with PHP but not extensive. It seems I cannot store any items

Gaining access to Drop Down Menu Variable
code is below, I am creating a drop down menu. I want to echo the value selected in the drop down me

Credit card verification
I have a client who wants to process credit card transactions from his web site rather than the goin

Apple's revamped lineup arrives

I'm personally curious about the magic mouse.. a multi-touch concept sounds like it could be nea

Checking if multidimensional array is empty?
I have a for with multiple test input fields. Specifically the user submits multiple names and ages

How to display objects in a row
I have 7 codes that i want to display in a row one next to another.
The first is {$ads->ad

PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see

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