Solved

Uploading Files Using Flex & PHP

Posted on 2007-11-19
3
3,431 Views
Last Modified: 2013-12-13
I'm having problems getting files onto my server using adobe flex and php.

As it stands my application will prompt the user to select a file, when the user selects the file it displays the following error,
Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.
      at app/upload()
      at app/___Button1_click()

The flex app links back to an upload.php page which handles the file and transfer it to the server, the odd thing is that it works fine locally but not online, I have changed the permisson on the folders but still no joy. I'm wondering if anyone could shed any light or provide a link to a flex file upload tutorial that works.

Thank you
0
Comment
Question by:Vype
3 Comments
 
LVL 21

Accepted Solution

by:
nizsmo earned 500 total points
ID: 20313993
useful information:
http://weblog.cahlan.com/2006/09/uploading-files-with-flex-and-php.html

also a very good one here:
http://hybridhacking.com/tutorials/uploading-files-with-flex-using-php

hope this helps in explaining your question and solve your error.

Also have you tried chmodding the file upload directory to 0777?
0
 
LVL 23

Expert Comment

by:Siva Prasanna Kumar
ID: 20317053
0
 
LVL 19

Expert Comment

by:Gary Benade
ID: 20326385
Please post the relevant code snippet
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question