Mega Upload 1.45 PHP script

SPONSORED LINKS

    Specification

  • Version: 1.45
  • File size: 0 KB
  • File name: megaupload-1.45.tar.gz
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: PHP
  • Price:Other Free / Open So
  • Company: Raditha Dissanayake (View more)

Mega Upload 1.45 script description:




Publisher review:
Mega Upload is a PHP File uploader with progress bar. To create a progress bar you need to measure how many bytes have been uploaded and compare this against the total number of bytes to be uploaded. (The total file size) This information can only be retrieved by manually processing the form submission.

While other technologies like perl or J2EE gives access to the raw POST data PHP does not. Strangely enough PHP does have a variable named RAW_POST_DATA but this is populated only if the engine cannot identify the content type of the POST data. This might tempt you to change the enctype of the form field to something other than multipart/form-data. You would quickly realize that just the filename is passed on to the server instead of the file being uploaded.

All this is rather suprising if you have become used to the access provided by php to lots of low level functionality. On the other hand when we did lekana.com we implemented a progress bar in JSP and found it really easy going.

The answer that we came up with mixes PHP with perl. On most servers where PHP is installed you are certain to find perl as well. Though the perl manual strongly urges you to avoid tinkering with the raw post data, it's quite easy to manipulate it to create a pop that indicates upload percentage.

Then again most PHP programmers today aren't comfortable working with perl. So we will pass on the processing to a PHP script once file upload is complete. You are then back in familiar territory.

The downloadable tarball contains a perl script to produce a progress indicator, a simple HTML form and a php script to take over once upload is complete.
Mega Upload 1.45 is a PHP script for File Management scripts design by Raditha Dissanayake. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

The new Firefox 37 comes with improved HTTP / 2 and superior HMTL5 compatibility with YouTube

The new Firefox 37 comes with improved HTTP / 2 and superior HMTL5 compatibility with YouTube

The popular browser Firefox reached version 37, bringing a series of news but not as significant as other versions.

Posted on: 03 Apr 2015 11:11 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Google Chrome version 42 comes with implementation of interesting options for software developers who want to turn their websites into complex Web applications: Push notification system which is permanently active.

Posted on: 17 Mar 2015 07:57 by A. Brown

Gamers, Microsoft presents the advantages of DirectX 12 and 11.3 platforms used by new games for Windows 10

Gamers, Microsoft presents the advantages  of DirectX 12 and 11.3 platforms used by new games for Windows 10

The Windows 10 preview event brought also to the attention of gamers a demonstration of the advantages of the new DirectX 12 API by Microsoft, which announced several technologies providing integration with Xbox One game consoles.

Posted on: 27 Jan 2015 09:15 by A. Brown

Android devices now have access to Google Chrome 40

Android devices now have access to Google Chrome 40

Finally was officially released version 40 of Chrome browser for Android devices, iOS and Windows PCs, coming up with an interesting range of bug fixes and optimizations.

Posted on: 23 Jan 2015 13:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.0 out of 5
Based on 1 ratings. 1 user reviews.

  • Currently 2.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5