Is it possible to upload files without using PHP?

Asked

Viewed 801 times

2

I have to make a video upload system, at first, without using the "server side". I wonder if you can do this without php, using Sqllite or Local Storage. I’ve researched several sites and I haven’t found much (and I’m kind of a layperson on the subject).

  • upload files? no server side! Where will you upload? You need a server to upload or use a Dropbox repository: https://www.dropbox.com/developers/dropins/saver

  • It is! It was a challenge that a teacher gave me.

  • Yes, you can use ASP.NET or RUBY

  • In the case of images: http://answall.com/questions/7182/existe-algum-site-api-para-hospedar-fotos-na-web/7187#7187 (of course, even if you access these services directly on front-end through REST Apis, there is a back-end, it just didn’t need to be written by you).

5 answers

3

  • \o/ living and learning!

1

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

1 - Could be on local network.

2 - Dropbox is a file storage and sharing service. Using this here

3 - Use a storage medium on HTML5, specifically here, saving Base64 from file.

Solution uses this Filesystem.

1

Yes it would only be possible to upload to Localstorage or Websql, but you would need to treat the image (possibly using Base64), so you can do Base64’s local Storage. Remembering that the Base64 encore is only read by CSS3. The angular has some libs ready to do this treatment.

1

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

0

Cannot upload to a webserver without using a language server side. 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 it. Only he will achieve this, because the image is not on the internet. If you want this, I recommend studying the use of Firebase+ Angular

Browser other questions tagged

You are not signed in. Login or sign up in order to post.