PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Good news, I got it to work. Just a tip: when you're having trouble sometimes its just that the variable isn't what it's supposed to be. In order to debug I like to echo() all the variables right before the function just to make sure that they are all what I want them to be. In this case I just called the following line before the first if statement.
I noticed that the $extension displayed was "zip" and not ".zip". I forgot that explode() takes out the period. I then changed the upload extension variables to
well after messing with it a couple hours.. i learned that, that file uploaded needs to have mass, or rather size to it... like if i created an empty zip file and tried to upload it, it would give the error, but if i added any size into the file it would be successful, so yeah that was my problem, sorry for wasting ur time if u read this