PHP used with MXML Upload File Script


/ Published in: PHP
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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. ?>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.