NewbProgramming Posted January 15, 2016 Share Posted January 15, 2016 Such as that of PHP $_FILE: http://php.net/manual/en/reserved.variables.files.php Handle files with a variable. Like you have for "cookies", "form", and "querystring" http://stackoverflow.com/questions/8659 ... pload-work Good for: - Player profile picture uploads. - Screenshot submission. - Mod submission. - Script editing via. browser. - FTP. - Much more. Link to comment
Jusonex Posted January 16, 2016 Share Posted January 16, 2016 It's indeed worth thinking about it. But some comments to your "good for" list: - Player profile picture uploads.- Screenshot submission. - Mod submission. It's normally better to separate web services and the MTA server. The integrated web server shouldn't be used as a webserver to host a fully-featured webpanel, but to provide an interface for internal communication between external webpanel and MTA server. You can also store these files in a database (or even on the file system) and download/access them via fetchRemote instead. - Script editing via. browser. You can already do this via HTML5 file system APIs. - FTP Proper FTP will not work. Implementing such a feature would indeed help to create a generic file uploader. I'm not sure if this is necessary though. Link to comment
NewbProgramming Posted January 16, 2016 Author Share Posted January 16, 2016 Alright at least you feel it's worth thinking about Thank you! I like this mod it's amazing. Link to comment
NewbProgramming Posted January 28, 2016 Author Share Posted January 28, 2016 Can also make a system like Amazon's. Where you can upload your own mp3 files to the server and play them via. music player. Link to comment
Recommended Posts