-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathip-calc.php
More file actions
29 lines (19 loc) · 736 Bytes
/
Copy pathip-calc.php
File metadata and controls
29 lines (19 loc) · 736 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
<?
require_once('includes/admin-db.php');
$dbClass = new admin_db_op();
$dbClass->testfunction();
?>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<form action="<?php $_SERVER['PHP_SELF']; ?>" method="POST" name="carma-form" enctype="multipart/form-data">
<label>Select a <code>.txt</code> file containing RIR delegate file</label>
<br>
<br>
<input type="file" name="fileUploaded" id="file" size="1" value="Select .txt file to upload" accept="text/plain" />
<br>
<br>
<input type="submit" name="calculate" value="Calculate">
<?php wp_nonce_field( 'submit_form', 'carma_upload' ); ?>
</form>
<?php
//$cidrClass -> getcidr();
//$cidrClass -> networkID("2.112.0.0");