It’s rather sad,

Working on an Ajax upload for my first time.

It’s taking forever.

And of course, simply I have no idea what I’m doing.

And yet alas,

I got so very very excited.

The error message was finally different this time.

  • 1
    Reminds me of my first time at a computer, when we finally got 0 instead of syntax error ;)

    This was using basic on the Sinclair ZX-80.
  • 1
    Use a framework (e. g. laravel) in the backend instead of raw'ing it, it takes care of most error and upload handling even via auto detected ajax calls.

    There's also a fuck ton of ready to drop-in ajax up loaders, just choose one that fits your theme and simplicity of embed.
  • 1
    Of the file is big, you can also just split the file base64 into multiple chunks and send them to server thus making it like progressively
Add Comment