Solved

Flash upload using "multipart/form-data"

Posted on 2004-09-01
13
429 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
ID: 11951792
0
 
LVL 7

Author Comment

by:ssdesign
ID: 11951813
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
ID: 11952171
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
ID: 11958670
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
ID: 11960876
:) 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
ID: 11965552
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 10

Expert Comment

by:muso120999
ID: 11971181
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
ID: 11983764
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
ID: 11983783
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
ID: 12320915
Can we clos ethis question?
0
 
LVL 10

Expert Comment

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

muso
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 13130124
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

867 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

15 Experts available now in Live!

Get 1:1 Help Now