Posts by Sidnei Pacheco • 26 points
1 post
-
1
votes1
answer54
viewsA: Restrict my form to receive only . doc, . docx and . pdg files
FRONTEND: <input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx"> BACKEND: $file_info = pathinfo($_FILES['botao-upload']['tmp_name']) $extencao = $file_info['extension'] $extencao_aceitas…