title: Storing Video Blob into a database?
body: <p>OK before you go off at me this is for testing purposes and YES i do know that its not a good idea but I'm just testing it. (Learning NEW things)</p>
  
  <p>OK Now Once the Video is recorded it use's jQuery.post to send it to uploadvideo.php but how would i retrieve it on that page? Or could we just store it straight into the database? from one page instead of sending it?   </p>
  
  <pre><code>function postVideoToServer(videoblob) {
  
      var data = {};
      data.video = videoblob;
      data.metadata = 'test metadata';
      data.action = "upload_video";
      jQuery.post("http://mysite.com/uploadvideo.php", data, onUploadSuccess);
  }
  </code></pre>
  
  <p>On uploadvideo.php i have this</p>
  
  <pre><code>&lt;?php
  
  require("connect.php");
  
  $video = $_POST["video"];
  $up = mysql_query("INSERT INTO video VALUES ('$video')");
  
  ?&gt;
  </code></pre>
  
  <p>But it does not seem to work any help will be great.</p>