I am making a remote fileuploading script which uploads a single or multiple chosen files to multiple filehosts, I am doing this by some cli script and as such all my main commands are executed using exec function. As such what I do is create my commands as per user input from one php file and save the commands in a .json file.I am making a remote fileuploading script which