clients (JS + PHP) upload