22 lines
488 B
PHP
Executable File
22 lines
488 B
PHP
Executable File
<?php
|
|
include_once ("../core/config.php");
|
|
$UTENTE = login();
|
|
$DIRITTI = diritti(1);
|
|
?>
|
|
<script type="text/javascript">
|
|
<!--
|
|
function invia(value) {
|
|
window.opener.document.getElementById('pwd').value = value;
|
|
window.opener.document.getElementById('pwd1').value = value;
|
|
window.opener.document.getElementById('pwd2').value = value;
|
|
window.close();
|
|
}
|
|
//-->
|
|
</script>
|
|
|
|
<?php
|
|
?>
|
|
<script type="text/javascript">
|
|
invia ('<?php print generateStrongPassword(9, false, "lud") ?>');
|
|
</script>
|