File uploads in IE8 and IE9 - php

This question may have been asked multiple times, but I haven't been able to find a proper answer.
I'm developing a website that also includes an image upload. Using HTML5 APIs I have been able to create individual progress bars for every image upload process.
As noted in the official documentation, IE9 and earlier versions don't support multiple file uploads and HTML5 APIs.
What I need is a progress bar for IE9 and lower.
I've read that iframes aren't capable of displaying the progress of file uploads. Neither I want to resort to some flash upload plugin.
I've also read that it is possible to add APC support (if not present) to the server which is configured to report the file's upload progress.
So, how safe is APC and are there any other possible ways of displaying progress bar in IE9 and lower versions?

As it turned out, APC is considered 'deprecated' and Session Upload Progress should be used instead!

Related

Generating pdfs with pdflib all images are blurry

we are currently working on a PHP project for one of our customers where we had to increase the PHP version (5.6.40) and the version of PDFLIB (9.1.1.p3). Since then we have the problem that all images are blurred, as if there is a white veil over them. We don't understand what the reason can be, because there have been no changes in the code.
before update
after Update
When I look at the pictures, two possible causes come to mind:
The colour profile in the image is sometimes processed and sometimes not.
an intermediate step processes the images before they are loaded and that has also changed.
It would also be good to know which PDFlib version you used before and whether the image is also manipulated on the server.
Probably the best thing to do is to open a support case directly with PDFlib support. https://www.pdflib.com/licensing-support/opening-a-support-case/
Then you can also send more details and an example PDF before and after the update. It is also best to share an example input image.

I want to upload videos / large files without flash plugin

I want to upload video (basically large files) without using Flash Plugin.
It would be better if it shows progressbar also.
Of course I don't want to use the browser's default browse button as it is not good for large files.
OR
Is there any javascript (or any js framework like jQuery) solution for uploading large files?
(prefferebly with progressbar)
Note : Currently I don't want to use HTML5
A hidden gem in the internet is PLUPLAOD
Before i found this I was bald from ripping my hair out in uplaoding files. plupload enables you to uplaod 2GB files or larger if you want, using chrome gears, html5, silverlight or flash proxies/capabilities
The best part is it detects what the current browser can handle and injects the correct proxy or handles the process manually in the core. If it does not support anything well then the user needs to upgrade his browser..
If you are using .NET here is a handler I found, tweaked and works well.
https://stackoverflow.com/a/6109862/706363
There are plenty of PHP examples.
This is truly an awesome JavaScript plugin!
Have a look at these links,
http://www.johnboy.com/blog/a-better-php-upload-progress-bar-using-jquery
jQuery ajax upload with progress bar - no flash
http://www.webappers.com/2011/01/24/jquery-file-upload-with-upload-progress-bar/
I did a normal google search and found these..

Multiple HTTP File Uploads

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. Could someone recommend me something or perhaps 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.
Thanks
As I mentioned earlier today ( Multiple file upload (client side) )
I am a big fan of Plupload which can check file size, show progress bar, single dialog for multiple files, and supports things other than Flash if needed.

Most reliable method for uploading files in PHP w/ progress bar

I am interested in finding the most reliable method for uploading files in PHP. I need a progress bar with the upload.
I have tried SWFUpload but it randomly issues an I/O Error. Even if the same file is uploaded sometimes there is an error and sometimes there is not. I have configured all the necessary INI/Mysql/Apache directives to accept large file uploads.
So, I am looking for alternatives as a Flash based solution has not worked. Would Java be more reliable? I have also looked into PHP with APC.
I definitely cannot afford these random errors, so any help on reliable software / suggestions on how to minimize them would be appreciated.
Thank you.
There are other flash based solutions other than SWFupload. Have a look at uploadify.com
I haven't come around to try this myself yet but http://www.plupload.com/ might be what you're looking for on. But otherwise PHP + APC works good as well.
I am assuming 2 things here:
1) Some kind of client will be doing the file upload
2) You get some kind of say on what the client installs on their computer to help make this happen.
If this is the case, my first suggestion would be:
Give them FTP or SFTP client software to upload files. The php page you make can have a link to Filezilla, along with instructions on how to use it. ftp and sftp are THE protocols to use for transferring files. HTTP is just not designed(well) for it, nor are browsers.

Firefox jQuery Drag and Drop File Upload together with PHP

I am after a jQuery/PHP means of allowing a user to drag and drop files and then via PHP, upload one or more files to a specific directory on a Linux box.
I only have Firefox 3.6 as my base browser but can also move to FFox if need be.
Can use any HTML5 features as long as I'm using Firefox 3.6
Can someone possibly point me to any examples/sites where this process is demonstrated?
I have had a look at http://www.plupload.com/index.php but this does not work in IE6.
As mentioned, would like it to work in FFox only.
Looking for a solution that does this on IE 6 is really, really building a stall for a dead horse IMO.
It may perhaps be possible using some proprietary - and likely commercial - ActiveX or Java plug-in - I'm not sure. But why go through that, when native support is around the corner in HTML 5?
Firefox 3.6 is the one browser that at the moment provides best support for it, so I would recommend to target that for the moment, and other browsers as they catch up in functionality... Whatever you do, I would really not waste time trying to get stuff like this working in IE 6 except if there is a really, really compelling reason why that specific browser has to be supported.

Categories