We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


Quick way to test the contents of a mult

Bruce Gust
Bruce Gust asked
Medium Priority
Last Modified: 2012-08-13
I want to test this script:

if(isset($_FILES['mp3_file']['tmp_name'])&& !empty($_FILES['mp3_file']['tmp_name']))
echo "yes";

It works find on my local server, but it's not for some reason on my real time server.

When I go to test it, because of it uploading an mp3 file, it takes a good five minutes to figure out if my code is "seeing" the contents.

Is there quicker way to check the presence of data in the kind of code I'm using so I don't have to wait so long?
Watch Question

Fixer of Problems
Most Valuable Expert 2014
Unlock this solution and get a sample of our free trial.
(No credit card required)
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.