New function : convertBinaryText
This commit is contained in:
@ -48,6 +48,10 @@
|
||||
<td><a href="./function-views/convertCurrency.php">Conversion de devise</a></td>
|
||||
<td>Convertis des euros (€) dans une autre devise.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="./function-views/convertBinaryText.php">Conversion d'un texte en binaire et vice-versa</a></td>
|
||||
<td>Convertis du texte (encodé en UTF-8) en binaire et l'inverse aussi.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
26
views/function-views/convertBinaryText.php
Normal file
26
views/function-views/convertBinaryText.php
Normal file
@ -0,0 +1,26 @@
|
||||
<!-- Config -->
|
||||
<?php include("../../php/config.php");?>
|
||||
|
||||
<!-- Header -->
|
||||
<?php include("../../incl/header.php");?>
|
||||
|
||||
<!-- Page Content -->
|
||||
<div class="container">
|
||||
<h1><span class="important"><?php echo $title?></span> :</h1>
|
||||
<p class="pt-3 text-center"><?php echo $description?></p>
|
||||
<div class="form-group">
|
||||
<label for="binaryTextValue">Entrez votre chaîne de caractères ou du binaire :</label>
|
||||
<textarea name="binaryTextValue" type="text" id="binaryTextValue" placeholder="(e.g : 'Salut' ou '01010011 01100001')" class="form-control"></textarea>
|
||||
<br>
|
||||
<div class="form-row text-center">
|
||||
<div class="col-12">
|
||||
<button type="submit" id="submitConvertBinaryText" class="btn btn-dark text-center">Envoyer</button>
|
||||
</div>
|
||||
</div>
|
||||
<br> <br>
|
||||
<p class="results text-center"></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<?php include("../../incl/footer.php");?>
|
Reference in New Issue
Block a user