Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Projet ISIS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MARQUE Pierre
Projet ISIS
Commits
1b1ead26
Commit
1b1ead26
authored
Mar 08, 2022
by
MARQUE Pierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changement de cgemin de DL
parent
ad2dfd5d
Pipeline
#1416
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
761871ef6ff89cf49dfeab2501d068d2_large.jpg
761871ef6ff89cf49dfeab2501d068d2_large.jpg
+0
-0
upload.php
upload.php
+1
-1
No files found.
761871ef6ff89cf49dfeab2501d068d2_large.jpg
0 → 100644
View file @
1b1ead26
489 KB
upload.php
View file @
1b1ead26
...
...
@@ -22,7 +22,7 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){
if
(
file_exists
(
"upload/"
.
$_FILES
[
"photo"
][
"name"
])){
echo
$_FILES
[
"photo"
][
"name"
]
.
" existe déjà."
;
}
else
{
move_uploaded_file
(
$_FILES
[
"photo"
][
"tmp_name"
],
"C:/wamp64/www/PROJET/upload/"
.
$_FILES
[
"photo"
][
"name"
]);
move_uploaded_file
(
$_FILES
[
"photo"
][
"tmp_name"
],
$_FILES
[
"photo"
][
"name"
]);
echo
"Votre fichier a été téléchargé avec succès."
;
echo
(
"<br></br>"
);
echo
"taille de la photo : "
.
$_FILES
[
"photo"
][
"size"
]
.
" octets"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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