-
Notifications
You must be signed in to change notification settings - Fork 0
/
dump2sql.php
38 lines (38 loc) · 1.64 KB
/
dump2sql.php
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
37
38
<h2>Dump Database to SQL</h2>
<form class="form-horizontal" action="psqlex.php" method="GET">
<div class="form-group">
<label class="control-label col-sm-2" for="binfol">PostgreSQL Bin folder:</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="binfol" placeholder="C:\Program Files (x86)\PostgreSQL\9.2\bin" name="binfol" value="C:\Program Files (x86)\PostgreSQL\9.2\bin\" required>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="port">PostgreSQL Port:</label>
<div class="col-sm-10">
<input type="number" class="form-control" id="port" placeholder="5432" name="port" value="5433" required>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="uname">PostgreSQL User name:</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="uname" placeholder="postgres" value="postgres" name="uname" required>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="dbname">Database name:</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="dbname" placeholder="Enter your Database name" name="dbname" required>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="outfol">Output folder:</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="outfol" placeholder="D:\tmp\sqlout" name="outfol" required>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button name="submit_dump2sql" id="submit_dump2sql" type="submit" class="btn btn-default">Submit</button>
</div>
</div>
</form>