Solved

javascript/flash/php file uploading with SWFupload

Posted on 2009-05-04
2
550 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Accepted Solution

by:
rascalpants earned 500 total points
ID: 24415322

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
ID: 31626895
I am not swfupload anymore. I found multipow far better than this
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

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…
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

737 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