Solved

javascript/flash/php file uploading with SWFupload

Posted on 2009-05-04
2
508 Views
Last Modified: 2012-05-07
I spent hours to find out a uploader to upload large files and display progress bar . finally I found SWFupload. I am using it in my form (index.php) . the only problem is its mandatory to upload a file whereas it should be optional for my users to upload files.

right now if they do not select a file to upload form is not submitting. I know I need to play with handlers.js but what and where . I only want to submit form simply and lets do upload.php its work .. i do not need any validation (javascript) . I have very few knowledge of javascript. I just want to submit the form in simple stright manner that should access code of upload.php and upload-videos-proccess.php .. there is no room for javascript validations . how i remove it ? once i delete whole handlers.js code it does not work too ..

Please rename files
index.php.txt into index.php
upload-videos-proccess.php.txt to upload-videos-proccess.php
upload.php.txt to upload.php
default.css.txt to default.css
swfupload.js.txt to swfupload.js
swfuploadbutton.swf.txt to swfuploadbutton.swf
swfupload.swf.txt to swfupload.swf
js/fileprogress.js.txt to js/fileprogress.js
js/handlers.js.txt to js/handlers.js
SWFUpload.zip
0
Comment
Question by:amitbravo
2 Comments
 
LVL 22

Accepted Solution

by:
rascalpants earned 500 total points
Comment Utility

why are you using using the same method to send data to a server if you are NOT sending a file?

I would setup two methods, and only call the one, when the user has selected that option...


rp / ZA

0
 

Author Closing Comment

by:amitbravo
Comment Utility
I am not swfupload anymore. I found multipow far better than this
0

Featured Post

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

Join & Write a Comment

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…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

763 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

10 Experts available now in Live!

Get 1:1 Help Now