forked from dwadh/HashHacks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformSubmit.php
More file actions
25 lines (21 loc) · 737 Bytes
/
Copy pathformSubmit.php
File metadata and controls
25 lines (21 loc) · 737 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
<?php
$cname=$_POST['cname'];
$desc=$_POST['desc'];
$reqfund=$_POST['reqfund'];
$currprofit=$_POST['currprofit'];
$noofcof=$_POST['noofcof'];
$noofadv=$_POST['noofadv'];
$tsize=$_POST['tsize'];
$noofrep=$_POST['noofrep'];
$avgsize=$_POST['avgsize'];
$base=$_POST['base'];
$focus=$_POST['focus'];
$mob=$_POST['mob'];
$reach=$_POST['reach'];
$workcomp=$_POST['workcomp'];
$foconsdata=$_POST['foconsdata'];
$crowdfund=$_POST['crowdfund'];
$mlbusiness=$_POST['mlbusiness'];
echo $mob;
$result=exec('python prediction.py '.$cname. ' '.$desc. ' '.$reqfund. ' '.$noofcof. ' '.$noofadv. ' '.$tsize. ' '.$noofrep. ' '.$avgsize. ' '.$base. ' '.$focus. ' '.$mob. ' '.$reach. ' '.$workcomp. ' '.$foconsdata. ' '.$crowdfund. ' '.$mlbusiness);
?>