Solved

Flash upload using "multipart/form-data"

Posted on 2004-09-01
13
428 Views
Last Modified: 2008-01-16
Want to upload file from a Flash Form.

How can I tell this code below to specify an ecode type of multipart/form-data? This is required to work with PHP script that i am using to upload files.

In HTML it is done by this:
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="submitform.php">

There has got to be a way! Thank you!
0
Comment
Question by:ssdesign
13 Comments
 
LVL 10

Expert Comment

by:muso120999
Comment Utility
0
 
LVL 7

Author Comment

by:ssdesign
Comment Utility
I know about this component.

I even found one more by Impulse Digital but it uses ASP.

I will be using that, you can find it here: http://www.impulsedigital.com/idio/idio-v1/

I want to use this with PHP.
0
 
LVL 10

Expert Comment

by:muso120999
Comment Utility
Cool, I'll have a look at the Impulse Digital one. I use php also, so I'll see what I can figure out for you...
0
 
LVL 10

Expert Comment

by:muso120999
Comment Utility
ssdesign, the component you mentioned only works in IE also - I guess that maybe isn't a problem for you.

I'll still look for a solution, and post it here if it's still open, but it looks like this is a tougher one to solve than I thought.
0
 
LVL 7

Author Comment

by:ssdesign
Comment Utility
:) no problem. Thats why i have 500 points for this one.

only IE is not a problem for me.
0
 
LVL 9

Expert Comment

by:dutchfoxer
Comment Utility
I remembered having the same problem. Had too look hard and found this as well:
http://www.flashcfm.com/tutorial_search.cfm?keyword=upload

But was looking for this (download sourve available):
http://www.impulsedigital.com/idio/idio-v1/

Hope it is of any help to you.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 10

Expert Comment

by:muso120999
Comment Utility
I haven't had a chance to look at this yet, but it supports PHP:

http://www.macromedia.com/support/flex/ts/documents/file_upload.htm
0
 
LVL 7

Author Comment

by:ssdesign
Comment Utility
dutchfoxer: if you read my earlier comment dated,  Date: 09/01/2004 05:58AM PDT, I had asked this question in reference to Impulse Digital upload example.
Also the CFM example you showed also uses the same technique as Impulse Digital.

MUSO: I know about FLEX but this project uses MX2004 and I can not use FLEX for this.

Its been 4 days yesterday I was able to resolve it using PHP.
0
 
LVL 10

Expert Comment

by:muso120999
Comment Utility
Okay; I'm glad you found your solution in any case :-)

For the record, I'm sorting out a solution that I can use now also (I prefer to do things myself, so I can understand how it works).
0
 
LVL 7

Author Comment

by:ssdesign
Comment Utility
Can we clos ethis question?
0
 
LVL 10

Expert Comment

by:muso120999
Comment Utility
By all means - you sorted it out by yourself anyway I gather!

muso
0
 

Accepted Solution

by:
modulo earned 0 total points
Comment Utility
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

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

6 Experts available now in Live!

Get 1:1 Help Now