0byt3m1n1
Path:
C:
/
wamp64
/
www
/
crop
/
Crops
/
[
Home
]
File: sample.php
<html> <head> <title></title> <style> .login-buttons { position: absolute; top: 10px; right: 10px; display: flex; } .login-buttons a { margin-left: 10px; } .get-started-button { display: inline-block; padding: 12px 24px; background-color: #007bff; color: #fff; text-decoration: none; border-radius: 4px; /* Add any additional styling for your button */ } </style> </head> <body style="background-color:lightblue;"> <form accept-charset="UTF-8" method="POST" action="insert.php" enctype="multipart/form-data"> <h1><center>Nutrients, Pests and Diseases of Crops</center></h1> <p> <input type="hidden" value="<?php echo $_GET['email']; ?>" name="email"> <input type="hidden" value="<?php echo $_GET['username']; ?>" name="username"> <label>Select Your Crop From the List <input type="text" name="crop"required > </label> </p> <p> <label>Scientific Name <input type="text" name="scname"required > </label> </p> <p> <label>Family <input type="text" name="family"required > </label> </p> <p> <label class="mr-4">Upload image :</label> <input type="file" name="file1" accept=".jpg,.png" required><br><br> </p> <fieldset> <legend><b>NUTRIENTS</b></legend> <p> <label><b>Nutrient Disorder</b></label> <input type="text" name="nutri"> <br> <label>Symptoms <textarea name="symptoms" maxlength="1500" ></textarea> </label> </p> <p> <label>Management <textarea name="mngmnt" maxlength="1500" ></textarea> </label> <p> <label class="mr-4">Upload images :</label> <input type="file" name="file2" accept=".jpg,.png" ><br><br> </p> </fieldset> <fieldset> <legend><b>DISEASES</b></legend> <p><label>Name Of the Disease </label><input type="text" name="dis" > </p> <p> <label>Symptoms <textarea name="comments" maxlength="1500" ></textarea> </label> </p> <p> <label>Management <textarea name="mangmnt" maxlength="1500" required ></textarea> </label> </p> <p> <label class="mr-4">Upload your images:</label> <input type="file" name="file3" accept=".jpg,.png" required ><br><br> </p> </fieldset> <fieldset> <legend><b>PESTS</b></legend> <p><label>Name</label><input type="text" name="pests" required> </p> <p> <label>Symptoms <textarea name="comment" maxlength="1500" required ></textarea> </label> </p> <p> <label>Management <textarea name="mngmnts" maxlength="1500" required ></textarea> </label> </p> <p> <label class="mr-4">Upload your images :</label> <input type="file" name="file4" accept=".jpg,.png" required ><br><br> </p> </fieldset> <input type="submit" value="submit" name="submit"> </form> <div class="login-buttons"> <a href="view.php?email=<?php echo $_GET['email']; ?>" class="get-started-button">View All </a> </div> </body> </html>