Posted By

mswallace on 04/10/08


Tagged

php file upload Flex


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

silentbob84


PHP used with MXML Upload File Script


 / Published in: PHP
 

URL: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=5241&productId=2

got this as part of an example on the adobe cookbook site

  1. <?php
  2.  
  3. $tempFile = $_FILES['Filedata']['tmp_name'];
  4. $fileName = $_FILES['Filedata']['name'];
  5. $fileSize = $_FILES['Filedata']['size'];
  6.  
  7. move_uploaded_file($tempFile, "./" . $fileName);
  8.  
  9. ?>

Report this snippet  

You need to login to post a comment.