Solved

javascript/flash/php file uploading with SWFupload

Posted on 2009-05-04
2
518 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
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

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

Suggested Solutions

Title # Comments Views Activity
change password links 7 73
php call to a non-object 3 32
Mysql sync between 3-4 mysql db 4 25
PHP preg_replace code convert to Delphi 14 33
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

910 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

22 Experts available now in Live!

Get 1:1 Help Now