Solved

Empty tmp_name in file upload

Posted on 2007-03-26
2
2,914 Views
Last Modified: 2009-01-21
Dear all,
I am creating a file upload script. But when I try to upload the file, the $_FILE[TMP_NAME] variable is empty. Any solution to that?
I used PHP 5
0
Comment
Question by:kecoak
2 Comments
 
LVL 15

Accepted Solution

by:
babuno5 earned 250 total points
ID: 18791879
actually u need to check
$_FILES['uploadedfile']['tmp_name']
and not
$_FILES['tmp_name']
0
 
LVL 48

Assisted Solution

by:hernst42
hernst42 earned 250 total points
ID: 18792185
See http://de3.php.net/manual/en/features.file-upload.php for correct usage of file-uploads in php
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question