Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 16th, 2012  |  syntax: None  |  size: 0.22 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Raw jpg post from flash to php. How to save the jpg image? The image is corrupted
  2. <?php
  3. $data = file_get_contents('php://input');
  4. $result = file_put_contents("imagePathOntheServer/image.jpg",$data);
  5. echo $result;
  6. ?>