Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

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?
0
brucegust
Asked:
brucegust
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
Use a smaller MP3.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now