Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

javascript/flash/php file uploading with SWFupload

Posted on 2009-05-04
2
Medium Priority
?
588 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 1500 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses

618 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