Solved

Uploading Files Using Flex & PHP

Posted on 2007-11-19
3
3,414 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

762 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now