Adding check for php upload variables