lorrenec

Untitled

Aug 24th, 2022
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. $arquivo = base64_decode($xml->arquivo);
  2. echo $xml->nome_arquivo;
  3. $file = fopen ($xml->nome_arquivo,'w');
  4. fwrite ($file,$arquivo);
  5. //close output file
  6. fclose ($file);
Add Comment
Please, Sign In to add comment