Thanks both of you for the response,but i am in a scenario where my
file is not on local machine.I mean i cant browse fr file.I have the
pic. in application.
for example-a picture of u which u can see on screen i.e an image.
How to store this data on the server.

On Aug 27, 9:44 am, Sumant <suman...@gmail.com> wrote:
> Normally, files can be uploaded by FileReference class.
> Browse files using FileReference.browse();
> FileReference.addEventListener(Event.SELECT, selectHandler), this will
> be called after clicking on the open button in browse dialog box.
>
> then call FileReference.upload(new URLRequest('pathtophpfile.php');
>
> And in pathtophpfile.php, put the below script
>
> move_uploaded_file ($_FILES['uploadFile'] ['tmp_name'], "../uploads/
> {$_FILES['uploadFile'] ['name']}");
>
> "../uploads/ will be the path to the folder in server.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to