56 lines
1.3 KiB
PHP
Executable File
56 lines
1.3 KiB
PHP
Executable File
<?php
|
|
session_start();
|
|
$fichier=$HTTP_POST_VARS["fichier"];
|
|
?>
|
|
<html>
|
|
<head>
|
|
<title>
|
|
Ajout des donnees dans la base
|
|
</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<form name="f1" action="index.php" method="POST">
|
|
<table align="center">
|
|
<tr align="center" bgcolor=#FFFFFF>
|
|
<td colspan=2>
|
|
<b> REGENERATION DE LA BASE DE DONNEES PRODUIT </b>
|
|
</td>
|
|
</tr>
|
|
<tr align="center">
|
|
<td colspan=2>
|
|
<br><b>Attention !!!</b><br>
|
|
La base de donnees produit sera completement reinitialisee.<br>
|
|
Afin d'eviter une incoherences des donnees (en modifiant l'id des produits) :<br>
|
|
l'idprod doit etre contenu dans les champs des donnees et identique a la version precedente.<br>
|
|
ex :<br>
|
|
idprod;refprod;denomination;description;location;delailivraison;prixht1;qtecmde1;poidsprod1;prixht2;qtecmde2;poidsprod2;prixht3;qtecmde3;poidsprod3;pathpdfdocument;pathphotobassedef;pathphotohautedef;idfamille
|
|
soit<br>
|
|
<br> 
|
|
1;RF202;jack 5 mm;fiche jack audio;;;5;1;1;;;;;;;;;;4<br>
|
|
2;RF203;jack 15 mm;fiche jack audio;;;5;1;1;;;;;;;;;;4<br>
|
|
.<br>
|
|
.<br>
|
|
.<br>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Nom du fichier :
|
|
<td>
|
|
<td>
|
|
<input type="text" name="fichier"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan=2>
|
|
<input type="submit" value="Validez"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
</body>
|
|
</html>
|