Datenstand V1.0
This commit is contained in:
16
inhalte/ie_upload.php
Normal file
16
inhalte/ie_upload.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
if ("1" != $_POST['step']) {
|
||||
if (("text/comma-separated-values" != $_FILES['Datei']['type']) AND ("application/vnd.ms-excel" != $_FILES['Datei']['type']) AND ("application/octet-stream" != $_FILES['Datei']['type']) AND ("text/plain" != $_FILES['Datei']['type'])) {
|
||||
echo "<p>Zur Zeit können nur CSV-Dateien importiert werden!</p>\n";
|
||||
return(0);
|
||||
}
|
||||
}
|
||||
echo "<h1>Datenimport</h1>\n";
|
||||
echo "<p>Erstellen Sie zunächst auf der linken Seite die Zuordnung der Datenfelder und klicken Sie unten auf das Vorschau-Symbol.</p>\n";
|
||||
echo "<p>Überprüfen sie danach mit mehreren Datensätzen die Erstellte Zuordnung!</p>\n";
|
||||
if ("Kontakte" == $_POST['Typ']) {
|
||||
include "inhalte/ie_cont_imp.php";
|
||||
} elseif ("Artikel" == $_POST['Typ']) {
|
||||
include "inhalte/ie_art_imp.php";
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user