Advertisement
Guest User

upload.php

a guest
Nov 29th, 2015
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. <?php
  2. if(isset($_POST['audio'])){
  3.     header('Location: http://www.84.27.164.153/');    
  4.   $audio = $_POST['audio'];
  5.   $decoded = base64_decode($audio);
  6.   $file_location = "./save_folder/recorded_audio.wav";
  7.  
  8.   file_put_contents($file_location, $decoded);
  9. }
  10. header('Location: http://www.google.com/');    
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement