Solved

Empty tmp_name in file upload

Posted on 2007-03-26
2
2,907 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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 dynamically set the form action using jQuery.

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now