-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfacXtractor.php
More file actions
36 lines (29 loc) · 825 Bytes
/
facXtractor.php
File metadata and controls
36 lines (29 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
include 'auth.php';
include 'fac_database_class.php';
?>
<html>
<body>
<h1>Datenexport Facto</h1>
<b>Bitte Exportprofil wählen und ggf. notwendige Parameter ausfüllen:</b>
<br/>
<form action=# method=GET>
Exportprofil: <select name=profil>
<option value="--">[bitte wählen]</option>
<option value="lparam">Lager Parameter</option>
<option value="preispflege">Preispflege</option>
</select>
<br/>
Lieferant: <input type=text name=linr />
<br/>
<input type=submit name=action value=action />
</form>
<?php
if (isset($_GET['profil'])) {
include 'profil_'.preg_replace("[^A-Za-z0-9]","",$_GET['profil']).'.php';
}
$lager = new facDatabase();
$lager->splitQuery($sql, $splitField, $parameter, $outputFilePrefix, $header, $createType);
?>
</body>
</html>