Skip to content

Instantly share code, notes, and snippets.

@thedineshj
Last active November 28, 2018 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thedineshj/42c04d8d65f286ba53e779dc73cd1cf1 to your computer and use it in GitHub Desktop.
Save thedineshj/42c04d8d65f286ba53e779dc73cd1cf1 to your computer and use it in GitHub Desktop.
PHP - How to count number of uploaded files ?
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Count File Uploads</title>
</head>
<body>
<form method="post" action="./countfiles.php" enctype="multipart/form-data">
<input name="pictures[]" type="file" multiple="multiple" />
<button name="submit" type="submit">COUNT</button>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment