Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Due to inactivity, this project is scheduled to be deleted on 2035-04-24.
Why is this scheduled?
Open sidebar
Lionel Ferrafiat
RIE-2017-ProjetTutore-G1
Commits
7ebed75d
Commit
7ebed75d
authored
Dec 20, 2018
by
System Administrator
Browse files
Ajout de conditions d'upload de fichier pour transparence
parent
4e11459f
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteWeb/html/write.php
View file @
7ebed75d
...
...
@@ -45,6 +45,7 @@ if (!isset($_SESSION['login'])) {
<h2>
Nouvel échange.
</h2>
<div>
<form
action=
"producteur.php"
method=
"post"
enctype=
"multipart/form-data"
>
<p>
Document autorisé de type: png, gif, jpg, jpeg, txt ou doc...
</p>
<p>
Choix du fichier :
<input
type=
"file"
name=
"fileToUpload"
id=
"fileToUpload"
></p>
<p>
Commentaire :
<input
type=
"textarea"
name=
"COM"
placeholder=
"Commentaire"
/></p>
<p>
Adresse mail de votre correspondant :
<input
type=
"email"
name=
"MAIL"
placeholder=
"mail@trueack.ovh"
pattern=
"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{1,63}$"
/></p>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment