Skip to content

Instantly share code, notes, and snippets.

@srinivas69
Last active June 18, 2020 16:32
Show Gist options
  • Save srinivas69/998bb03564cda81dbe3fe34b7387cf8f to your computer and use it in GitHub Desktop.
Save srinivas69/998bb03564cda81dbe3fe34b7387cf8f to your computer and use it in GitHub Desktop.
upload file html view
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Upload File Tutorial</title>
</head>
<body>
<div class="container col-sm-12" id="choose-files" oncopy="return false" oncut="return false" onpaste="return false">
<div class="row">
<form action="/retailer/processcashback/cashback" method="post" enctype="multipart/form-data">
<b>Cashback:</b> <input type="file" name="cashbackfiles" id="cashbackfiles"
multiple/>
<input class="btn btn-primary" type="submit" style="border-radius: 4px;" name="cashbackfiles" value="Upload">
</form>
<br>
<form action="/retailer/processcashback/supercoins" method="post" enctype="multipart/form-data">
<b>SuperCoins:</b> <input type="file" name="supercoinsfiles" id="supercoinsfile"
multiple>
<button class="btn btn-primary" type="submit" style="border-radius: 4px;">Upload</button>
</form>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment