You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
('method', 'Set this to ''GET'' to pass the form contents directly as URL parameters. If the user enters a value v in a field named x, submitting the form will load target.sql?x=v. If target.sql contains SELECT $x, it will display the value v.', 'TEXT', TRUE, TRUE),
@@ -401,6 +417,15 @@ But note that SQLPage cookies already have the `SameSite=strict` attribute by de
401
417
## File upload
402
418
403
419
You can use the `file` type to allow the user to upload a file.
420
+
421
+
> NOTE: It is recommended to use ``multipart/form-data`` to encode the from
422
+
data for file uploads. This is because the default encoding
423
+
(``application/x-www-form-urlencoded``) applied to arbitrary binary can be up
424
+
to 3 times the size of the file.
425
+
For now, ``formenctype="multipart/form-data"`` is automatically applied to the
426
+
default validate button - but this may change in the future.
427
+
428
+
404
429
The file will be uploaded to the server, and you will be able to access it using the
0 commit comments