Skip to content

Instantly share code, notes, and snippets.

@ssx
Created December 31, 2018 18:01
Show Gist options
  • Save ssx/1990a1bfcfe1ee280b854920bb2da846 to your computer and use it in GitHub Desktop.
Save ssx/1990a1bfcfe1ee280b854920bb2da846 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<title>File Upload</title>
</head>
<body>
@if (Session::has("message"))
{{ Session::get("message") }}
@endif
<hr />
{{ Form::open(array('url' => '/', 'files' => true)) }}
{{ Form::file('image'); }}
{{ Form::submit('Upload File'); }}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment