Wednesday, January 9, 2013

Re: Save Uploaded/Parsed File to Database Table

Ok...I finally got the file to save in the file system correctly. Here is my code

$filePath = WWW_ROOT.'/spreadsheet/' . DS . $uploadedFile['name'] ;
move_uploaded_file($uploadedFile['tmp_name'], $filePath);

Now I have to save the meta data associated with file as well as the file path. If I need some assistance I will let you guys know. Thank you for taking the time to look at my post and helping me! Yall don't know how much I appreciate you guys!

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: