Solved

Empty tmp_name in file upload

Posted on 2007-03-26
2
2,923 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

623 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