This file contains 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
function downloadDataUrlFromJavascript(filename, dataUrl) { | |
// Construct the a element | |
var link = document.createElement("a"); | |
link.download = filename; | |
link.target = "_blank"; | |
// Construct the uri | |
link.href = dataUrl; | |
document.body.appendChild(link); |
This file contains 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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Cadastro de Funcionários</title> | |
<link rel="stylesheet" text="text/css" href="estilo.css"> | |
</head> | |
<body> | |
<?php | |
require ("config.php"); | |
?> |
This file contains 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
location / { | |
try_files $uri $uri/ /index.php?$args; | |
} |