Php :: Large File Uploads From Webpages?

Apr 27, 2010

I code primarily in PHP and Perl. I have a client who is insisting on seeking video submissions (any encoding) from the public via one of their pages rather than letting YouTube do its job.Server in question is a virtual machine and I can adjust ini settings for max post, max upload size etc as needed.My initial thought is to use a Flash based uploader with PHP on the back end but I wondered if someone might have useful advice and experience on the subject?

View 6 Replies


Similar Posts:


Php :: Multiple HTTP File Uploads?

Jan 6, 2012

I'm looking for a tool to facilitate mulitple webpage file uploads from a single file browse dialogue. I know this has been asked previously, but I can't find anything current.I'd like to check file size prior to upload, and I gather Flash is still the only way to do that cross-browser? Ideally, I'd like an upload progress metre.I'll be using Linux and Apache servers, but don't have access to install add-ons such as PHP APC. Again, I assume something flash-based is the only option there?

I've looked at SWFUpload, but that appears to be another of these projects where the developers have become quite zealous and turned a simple concept into a full suite of tools for the masses.It seems quite cumbersome and I don't think I want to use it for my purpose.I'd prefer not to have to write something from scratch for this.suggest a non-Flash alternative if there is one? I do need full cross-browser compatibility without too many layers of degradation, so anything HTML 5 probably isn't what I want.

View 1 Replies

Php :: Why Are Multiple File Uploads Not Simple Without Flash/.NET

Nov 26, 2009

The only tools/plugins I've seen online that allow for multiple files to be selected for upload through one single dialog box using a SHIFT or CTRL click action (as opposed to clicking on a single file per for file uploads) exist for controls made in Flash/.NET/Java, not just straight Javascript/HTML/PHP.

Why is that the case? I'd imagine that if possible, site developers would look to having less dependencies on different technologies rather than more.

View 3 Replies

Php :: Adding Unobtrusive Progress Bar To Old-school File Uploads

Oct 30, 2009

You all know the new generation of fancy, mostly Flash-based file uploaders like SWFUpload that can show a progress bar while uploading - a great improvement especially for shaky and low-bandwidth connections.

However, these uploaders all bring their own logic of how to handle uploads on the client side. I am looking for an unobtrusive way to "fancify" existing, classical file uploads, i.e. introducing a progress bar to normal file upload forms.

Due to the architecture of uploading files, this is most likely not possible without some tweaking on the client side.

I am looking for a solution that keeps the tweaking to an absolute minimum, e.g. a component that adds itself to the onsubmit event of a normal form, performs the file upload, displays a nice progress bar, puts the resulting temporary (server side) file path into the form, and submits it. On the server side, I just have to modify my script to use the file path provided by the flash uploader, instead of $_FILES and consorts, and think about security for a moment.

This is not exactly what all the Flash-based uploaders do: They can use data from a form, but they do not provide possibilities to submit the form as is, what is what I'm looking for. I am looking for a (probably) Flash based upload function taken a step further.

View 6 Replies

Javascript :: Handling File Uploads With Google Gears?

Feb 18, 2010

I've been using this method of file uploading for a bit, but it seems that Google Gears has poor support for the newer browsers that implement the HTML5 specs. I've heard the word deprecated floating around a few channels, so I'm looking for a replacement that can accomplish the following tasks, and support the new browsers. I can always fall back to gears / standard file POST's but these following items make my process much simpler:

Users MUST to be able to select multiple files for uploading in the dialog.I MUST be able to receive status updates on the transmission of a file. (progress bars)I would like to be able to use PUT requests instead of POST I would like to be able to easily attach these events to existing HTML elements using JavaScript. I.E. the File Selection should be triggered on a <button> click. I would like to be able to control response/request parameters easily using JavaScript.

An example of uploading code using gears:

// select some files:
var desktop = google.gears.factory.create('beta.desktop');
desktop.openFiles(selectFilesCallback);

[code]....

Edit: apparently flash isn't capable of using PUT requests, so I have changed it to a "like" instead of a "must".

View 2 Replies

Flash :: Player 10 Security Model For File Uploads?

Feb 18, 2012

I've been reading about the security restrictions for file uploads in Flash Player 10.According to the FileReference docs for upload(), the upload does not have to be triggered by a user-initiated action (the browse() does, but that's another story). If it did, that would force an awkward user experience for multi-file uploads, since only one upload can occur at once -- so the user would have to click (or press a button) once per file to initiate the upload, but only when the previous file had finished uploading.

[Code]...

View 2 Replies

Actionscript :: Flash Builder Network Monitor Not Recording File Uploads?

Jul 31, 2011

I'm uploading an image file with upload() of a FileReference object however the network monitor in Flash Builder doesn't report anything. Is that normal behavior? A google search didn't return anything.

View 1 Replies

Split Large SWF File?

Nov 20, 2010

Hey flash gurus. I did a search and while I feel certain this has been covered (and am content to be flamed) I couldn't find the answer here on the boards so here goes...

I fumble/stumbled my way through making a web site for myself and I'm pretty happy with the results. I am sure I did some obscenely newbish things but it works and it looks good enough so I'm fine with it for now except...

It takes a good long time to load the web site which I believe is due to the fact that ALL the pages of the web site are mashed into a single SWF file. I would like - for a number of reasons - to break this into several different pages (not just for size but to make updates less painful).

View 4 Replies

Flash :: Import A Large File FLV?

May 26, 2010

I'm working on a project currently and need to import a large file FLV into flash. It's not over the 16000 frame issue as I've checked this. I'm in Flash CS4 and have an animation in 1080p res. It will import up to about 4653 frames fine but it will be only part of the complete file. Is there any way around this? We're using this as a cross platform container to alleviate video programs and compatibility issues for training. In the Publish settings we can export for Mac and windows options etc.

View 3 Replies

Large Pixel File Yet It Gets Cut Off When I Preview It

Feb 11, 2012

I have a large pixel file yet it gets cut off when I preview it. Why?

View 1 Replies

IDE :: Why Is Mp3 Imported The File To Fla Library So Large

Apr 1, 2010

I have a mp3 file that is 2:30 long and is roughly 5.5mb. How come when I import the file to my fla library it sees it as being 29mb large. My swf isn't large when I compile the project but the fla file jumps from 2mb to 30mb just from adding this sound file. P.S. This site has been a ton of help with different aspects of my flash project.

View 4 Replies

ActionScript 3.0 :: Embedding Large Text File?

Mar 31, 2009

I have a very large text file (it's a 270,000 word list with one word per line) which I need to bring into my AS3 code. Importing it via url works just fine - loading it in as a string then converting to an array - no problems.

However, I need to embed it into my code somehow so that there are no external files (for easy distribution). Using a search and replace tool, I've tried several things, none of which have worked including:

Converting to a single space delimited string:

Code:
var wordList:String = "word1 word2 word3 ...";
Result: crashes compiler.

Code:
Converting to an array: var wordList:Array = ["word1","word2","word3", ...];
Result: crashes compiler too.

The same tests work fine with much smaller sized word lists, but apparently the size of my word list is too large to work. I know flash can handle strings and arrays of this size, because as I said, it works fine when importing the text file via url. I just can't seem to get it to compile it when I embed it into code.

View 21 Replies

Slice-9 Clip Is Invisible In Large CS4 File

Jul 24, 2009

I'm using Flash CS4 for Windows XP SP3.I have a large project (12MB) that was originally created in CS2 (it's an Actionscript 2.0 project) that I have now opened and saved from CS4 (still using Actionscript 2.0). There are many movie clips that use 9-slice scaling in the library. While editing a clip that has a child clip that has 9-slice turned on, that child clip is invisible on the stage. The object is still there, and when I double-click the child clip to edit it, I am able to view the clip correctly, but when I return to the parent movie clip, the child clip is invisible again. When I publish the movie, the child clip appears correctly. When I turn off the 9-slice checkbox, the child appears correctly in the parent again.Any project that I open or create after having this large file open exhibits the same behavior, even if I close the large file. I have to restart Flash to make the behavior go away. If I have a file open before opening the large file, that file is not affected and works correctly.Also, a clip that has nested child clips, one of which is a 9-sliced clip, will be be completely invisible in the parent clip, even if some of the other child clips do not have 9-slice checked. For example:[code]

ParentClip1 has two children. ChildButton2 is one of those children. ChildButton2 has two of its own children, LabelClip1 and BackgroundClip1. If BackgroundClip1 is set to use 9-slice (it has rounded corners), then neither ChildButton1 or ChildButton2 or its children are visible in ParentClip1 (again, when the file is published everything appears fine in the SWF; this happens only in the Flash CS4 IDE).Finally, I can select "Edit in Place" to edit nested elements, but "Edit in Place" is greyed out when I have a 9-sliced clip selected. I can only select "Edit Selected" if I want to edit that, and when I do that I jump out of edit in place mode (though I can still navigate back to the parents using the breadcrumbs).

View 1 Replies

Flash - How To Handle Large MXML File

Mar 8, 2011

I am currently working on the largest Flex / Flash Builder 4 application I have ever built. I am acustomed to keeping all of my MXML programming in one file. What are some best practice procedures for keeping large MXML files readable?

View 4 Replies

Actionscript 3 :: PHP - Large File Upload Error?

Nov 7, 2011

I'm sending from a AIR desktop application an image along with some text as a Base64 encoded string. If the image size is around 100 KB the upload works but if its a bigger one ~220 KB I get an Error thrown back after some time. Error opening URL but the url path is correct and can be found.What is wrong with my PHP?

<?php
$file = $_POST["thefile"];
$text_message = $_POST["themessage"];

[code]......

View 2 Replies

ActionScript 2.0 :: Moment And The File Size Is Getting Really Large?

Sep 5, 2004

I'm working on a final schoolproject at the moment and the file size is getting really large... Because I might update this project later with more footage, I've already put a lot of code on the buttons which I have put between comment tags for now, so I'll be able to update it later easily.

The max on our project is 10MB, now there is a lot of external footage like sound and video, but still all the flash files together are taking up a lot of space.

Does anyone know if a lot of comments in the code have any effect on file size?

View 3 Replies

ActionScript 2.0 :: Way To Attach A Large Sound File?

Jul 28, 2005

I want to attach a sound file and have several cuepoints that will cause certain movies to play as the sound file plays.I've looked into this and think I'm right in saying that you can't have an external sound file, like you can have an external Flash video file?What would be the best way to attach my large sound file?One way which I thought I could do what I need: create a Flash video file, don't show the video file and just play it... and then use Flash video's cuepoints.

View 4 Replies

IDE :: Large Flash File Not Compiling Tweens

Feb 4, 2009

I have a large Flash presentation consisting of 12 slides. When exporting or previewing the movie all of the tweens appear corrupted. They flicker on the first keyframe - go blank - then display the last keyframe all static. I'm using CS3 on a MacBook Pro 2.4GHZ with 2GB of Ram. I have a dual boot setup and the same thing happens in both OS X and Windows XP. I've found a laborious work around in that if I go into each movieclip, and nested movieclip, move the timeline slider then re-export... that particular tween will then animate correctly. I can go through the entire file and thereby export the SWF with animations in tact... But this takes a lot of time and every time I restart my machine it has to be done again from scratch to export the file.... This has happened before on a large Flash file and I reinstalled Flash from scratch and it didn't fix it.

I'm wondering if this could potentially be a bug relating to how much RAM I have? I sent the file to someone who has 4GB of RAM on their PC and it exports correctly. I will be doing a lot of presentations of this nature and would like to know if there is a way to fix this bug or if it is really related to how much RAM you have and how big the Flash file is??

View 1 Replies

IDE :: Bunch Of FLVs That Have A Large File Size?

Jul 6, 2010

I was wondering if somebody could point me in the right direction as I don't have much time for trial and error...I have a bunch of FLVs that have a large file size that I would like to compress and resize...what would you recommend as the best software or method of doing so without losing too much quality?

View 3 Replies

ActionScript 3 :: Flex - Parse A Large JSON File?

Oct 21, 2010

I need to parse a large trace file (up to 200-300 MB) in a Flex application. I started using JSON instead of XML hoping to avoid these problems, but it did not help much. When the file is bigger than 50MB, JSON decoder can't handle it (I am using the as3corelib).

Try to split the file: I would really like to avoid this; I don't want to change the current format of the trace files and, in addition, it would be very uncomfortable to handle.Use a database: I was thinking of writing the trace into a SQLite database and then reading from there, but that would force me to modify the program that creates the trace file.

View 3 Replies

HTML :: Embedding Large Flash File From Server

Oct 26, 2011

I'm trying to embed several flash files (swf) into different html pages. These flash files vary in size between 6 and 20 MB. I want these files to start playing immediately once the page is loaded. I'm aware that the file sizes aren't really small and so they will require some time to load. What I would like to know now is if flash will automatically stream these files from the server and will start playing them or if it has to download these files before it can play them? I've only got a local dev environment atm so can't really test the behaviour on live.

View 2 Replies

ActionScript 3.0 :: Timeout Error When Loading Large XML File?

Aug 7, 2010

I need to load a dictionary into a game I'm making. It resides in a very large (on the order of 2.81 MB) XML file. While trying to load it, I get an error stating that the script has run for more than 15 seconds. Is there any way I can change the default timeout to allow the file to load?

View 5 Replies

ActionScript 3.0 :: Flash Large AS File Vs External Text

Dec 2, 2010

I'm running into a brick wall here. My dictionary.txt file, which is loaded into ActionScript and shoved into an array, cannot be uploaded by the licensing company to license my game. However, I wrote a program to convert the space-delimited text file into an .as file, looking like so:[code]Thing is, now the .as is 3MB in size, and all ActionScript in the game fails to load.So I either need two things:

- Some way to embed the .txt file within the .swf

- Some way to make the .as file load without issues.

View 4 Replies

ActionScript 3.0 :: Importing A Large Text File And Print It With A Footer?

Dec 17, 2009

I'm importing a large text file and trying to print it with a footer. My method for all of this is very simple. I'm dynamically creating a sprite container that is fed to the the printjob() class. Inside that I'm creating a dynamic text field and scaling it to the right page height/width (408x574) and adding a footer below that.

Using a loop, I'm scrolling the text field to the top of the next page and adding the page number to the footer and adding the page to the job. Mostly, this works fine, but I'm noticing some lines from the text field are not printing. This happens at the page breaks and is not consistent across different printers I use.

[Code]...

View 6 Replies

ActionScript 3.0 :: Parse A Large XML File Using A For Loop To Populate A Listcomponent?

Mar 13, 2010

I'm trying to parse a rather large XML file using a for loop to populate a listcomponent. To let the user know the XML is being parsed (takes 5-10 sec.) I want to create a simple notifier/preloader (loader_mc is on the stage, frame 1, and should inform that things are being loaded/parsed).The problem is that nothing shows as long as the loop is busy.Is there some kind of progresslistener for the loop in AS3 or some kind of Event.PROGRESS for the XML load that will kick in BEFORE the loop starts.I even tried to move this script to frame 2 but still the loader_mc wouldn't show.[code]...........

View 9 Replies

Actionscript 3 :: Parsing A Large CSV File, Dealing With Commas And Quotes

Oct 12, 2010

I need to load in a large CSV file (>1MB) and parse it. Generally this is quite easy to do by splitting first on linebreaks and then commas. The problem is though that some entries contain Strings that include their own commas. When this spreadsheet is converted to CSV, the lines containing commas are wrapped in quotes.

I've written a parser that first escapes all the commas in these strings, then splits it on linebreaks and then commas, and then unescapes the values again.

This is quite a slow process for such a long string, as I need to iterate through the whole string. Does anyone know a faster or more optimised method of dealing with this?

View 3 Replies

ActionScript 2.0 :: Large Amount Of Textfields Should Be Animated And Random Without Xml File?

Mar 29, 2009

I have 100 names. I want to have it animated like the genname.fla I attached.And it should show these names when I mouseover it, in completely random order.Like the namebanner.fla I attached.I don't want the flash swf to get too large in filesize or the animation playing choppy.

How do I implement all these names (with animation) with coding in AS2 instead of timeline and labels?Without using external files xml, swf, txt.My solution I chosen is to have Labels (label1, label2..) in my timeline and I have now 30 labels, 30 movieclips+30MC:s in every with the name animation. It is so hard work to copy label, motion, convert new movieclip and do this for 100 names. Maybe I need 200 names.. This is impossible to sort out.

Every name must have the same:

- animation: movement, speed, blurfilter

- font

I need to be able to change:

- the name (firstname, lastname)

- animation (blurfilter, where it should start animate and stop, how fast..)

And I need to be able to change the font so It changes in every name so I don't need to go into every movieclip and change.

I have following code:

Code:

//random
function fncShuffle()
{ return Math.floor(Math.random()*5)-1; }
//function for every label on the timeline

[code]....

View 2 Replies

Actionscript 3 :: Limit On FileReference Uploads?

Jun 17, 2010

I am currently uploading files in ActionScript 3 using the upload() method of the FileReference class.I built an uploader than can do simultaneous or parallel uploads, having a variable set the number of maximum uploads at a time.I noticed that for Internet Explorer I could be uploading 10 or more files simultaneously, but FireFox and Safari seems to cap the number of uploads to 2. That is, when I call the upload method on per say, 3 files, only 2 will get events back (such as ProgressEvent.PROGRESS). Only when one of the 2 uploads finishes, then the 3rd one will start. This behavior does not happen for Internet Explorer. I have tried with a large number of files, and some big files, to make sure this behavior was consistent.

View 1 Replies

ActionScript 2.0 :: Knowing When All Uploads In FileReferenceList Are Done?

Aug 28, 2007

the onComplete listener tells me when the individual file uploads are done in a multi file select upload...but how could I know when they're all done?

View 2 Replies

ActionScript 3.0 :: Flash - Keep Animation Running While Receiving Large Data File?

Feb 3, 2011

I'm developing a web application with Flash CS5 and AS3.0. The problem I'm having is this:At a certain state, the application goes to a frame with a "loading..." animation that loops continuously until the next state is reached. The animation is inside a MovieClip that lives on this frame on the stage (I'm not creating or animating it dynamically). While in this state, the app is waiting to receive a large xml file from an XmlSocket connection. The file takes a few seconds (literally - not milliseconds) to be received fully by the Flash player, and during this time the loading animation stops. I believe the socket is blocking the animation thread until it's done receiving the entire file.Does anyone know of a workaround that would allow the animation to keep playing while the socket is receiving? I've seen pseudo-threading hacks, but those always deal with computations or other activities that can be accomplished by calling a call-back function multiple times. Since I'm just listening on an open socket, there's no callback I could pass to a pseudo-thread.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved