lorrenec

Untitled

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