This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// on declare une chaine de caracteres | |
$chaine = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#-_\/:!+*$%;,"; | |
echo "<h1 align='center'>Générateur de mots de passes</h1>"; | |
//Mot de passe de 6 caractères | |
$nb_caract = 6; | |
$pass = ""; | |
for($u = 1; $u <= $nb_caract; $u++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//i fork the first script to obtain an html file like one from Firefox to import it into Shaarli. | |
// bump this limit up as it can be quite memory intensive if you have a lot of shared items | |
ini_set('memory_limit', '64M'); | |
// update to use your own file here | |
$json_file = "./shared-items.json"; |