Link to home
Start Free TrialLog in
Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on

Quick way to test the contents of a mult

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?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial