28 lines
588 B
PHP
28 lines
588 B
PHP
|
|
<head>
|
|
<meta charset="utf-8">
|
|
</head>
|
|
<?php
|
|
|
|
$target_path = "../Triathlon/";
|
|
|
|
$target_path = $target_path . basename('tq.xls');
|
|
|
|
|
|
|
|
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
|
|
echo "le fichier ". basename( $_FILES['uploadedfile']['name']).
|
|
" a été téléchargé avec ";
|
|
} else{
|
|
echo "There was an error uploading the file, please try again!";
|
|
}
|
|
|
|
|
|
require_once('php/inc_functions.php');
|
|
require_once('php/inc_fx_excell.php');
|
|
$mem_fichier="../Triathlon/tq.xls";
|
|
|
|
|
|
|
|
echo(fxupload_excel_triathlonv2($mem_fichier)) ;
|
|
echo(' lignes'); |