Is it possible to make a file upload system without using PHP?

2

I have to make a video upload system, at first, without using the "server side". I would like to know if you have how to do this without using php, using SQLLite or Local Storage. I already researched several sites and did not find much (and I'm kind of lazy about it).

    
asked by anonymous 28.07.2014 / 16:17

5 answers

3

RemoteStorage is a Javascript API that uses OAuth and Node.JS and in theory meets your client-only requirement:
link

    
28.07.2014 / 17:04
1

Yes it would be possible to upload only to Localstorage or Websql, but you would need to treat the image (possibly using base64), so you can do the local64 base64 storage. Recalling that Base64 caching is read only by CSS3. The angle has some libs ready to do this treatment.

    
28.07.2014 / 16:30
1

Upload would be the action of sending data from a local computer to a remote computer or server.

1 - Could be on a local network.

2 - Dropbox is a service for storing and sharing files. Using this here

3 - Use a storage medium in HTML5 , specifically here , saving base64 from the file.

Solution uses this Filesystem .

    
28.07.2014 / 16:27
1

There is a plugin called jQuery Form , with which you can make requests, but to "use only javascript "you need some repository API where you only pass parameters. Another solution would be to convert to base64 (used only in specific browsers) and save to local storage , but a base64 file is large and local storage has a storage limit.

    
28.07.2014 / 16:35
0

Can not upload to a webserver without using server side language. You can simplify your work using Apis or Web Server modules, but even then, it will be Server Side. You could use SQLite for a project where the client stores image locally, and views them. Only he will achieve this, because the image is not on the internet. If you want this, I recommend you study the use of Firebase + Angular

    
28.07.2014 / 16:24