Skip to content

Instantly share code, notes, and snippets.

@tmeissner
Created December 16, 2012 23:30
Show Gist options
  • Save tmeissner/4314188 to your computer and use it in GitHub Desktop.
Save tmeissner/4314188 to your computer and use it in GitHub Desktop.
HTML file upload
<!DOCTYPE html>
<html>
<head>
<title>File upload</title>
</head>
<body>
<h1>File upload</h1>
<p>
<strong>Select a file and click upload :)</strong>
</p>
<form action="/cgi-bin/file_upload.py" method="POST" enctype="multipart/form-data">
<input type="file" name="filename">
<input type="submit">
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment