[WIP] Web inteface for uploading and downloading scripts to servers
Started by bbqroast, Jan 25 2013 11:01 AM
12 replies to this topic
#1
Posted 25 January 2013 - 11:01 AM
So you've got that 5000 line program written and ready to go. Now you just need to get it onto your server... damn, oh well, time to pull an all nighter I guess. 2 months later, the server side version of the code is nothing like the original, now spanning 10,000 lines it's a purely amazing piece of work. Then the admin says he's shutting down the server, and tells everyone to start copying down the programs that they want to keep. Who will come to your rescue?
Web Turtle
[insert theme tune here]
WebTurtle is a web inteface that allows you to upload and download files from your in game computers. It's simple and easy, and is secure (note: you're responsible for the security of your ingame computers). You simply place a passkey on your computer and then use the web inteface to upload and download scripts. It's pretty basic right now (you still can't upload files to subdirectories of root for example (I haven't worked out how to do this without letting users access files outside of the computer) but it's enough to work (hopefully).
Here's an album showing off the project so far:
http://www.imgur.com/a/RQKQg
Download:
http://www.mediafire...2g26oq3ogp9oych
Simply change the $dir variable (open the PHP scripts with and standard plain text editor) in the top of "download.php" and "upload.php" to the path to your computer file (within the world folder, this should work fine for Linux, note that warnings/notices should be disabled otherwise PHP will put in some ugly headers when you do something wrong (the code has error feedback so the user should now what they've done wrong, PHP's errors are meant for developing)).
Web Turtle
[insert theme tune here]
WebTurtle is a web inteface that allows you to upload and download files from your in game computers. It's simple and easy, and is secure (note: you're responsible for the security of your ingame computers). You simply place a passkey on your computer and then use the web inteface to upload and download scripts. It's pretty basic right now (you still can't upload files to subdirectories of root for example (I haven't worked out how to do this without letting users access files outside of the computer) but it's enough to work (hopefully).
Here's an album showing off the project so far:
http://www.imgur.com/a/RQKQg
Download:
http://www.mediafire...2g26oq3ogp9oych
Simply change the $dir variable (open the PHP scripts with and standard plain text editor) in the top of "download.php" and "upload.php" to the path to your computer file (within the world folder, this should work fine for Linux, note that warnings/notices should be disabled otherwise PHP will put in some ugly headers when you do something wrong (the code has error feedback so the user should now what they've done wrong, PHP's errors are meant for developing)).
#2
Posted 25 January 2013 - 12:51 PM
Nice job!
#4
Posted 27 January 2013 - 04:16 AM
Great script
#5
Posted 27 January 2013 - 06:07 AM
Awesome! +1
#6
Posted 03 February 2013 - 04:18 PM
What I would do: Use HTTP, or one of the many copy/paste programs around.
Still though, nice work. I'm assuming it's server-sided.
Still though, nice work. I'm assuming it's server-sided.
#7
Posted 05 February 2013 - 04:58 AM
o.o
looks nice
looks nice
#8
Posted 05 February 2013 - 09:33 AM
Like Everyone else I gotta say: Nice, Good Work and on and on... 
+1 For that.
+1 For that.
#9
Posted 24 March 2013 - 10:01 AM
Sorry for my noobeness ,but how does one use this?
#10
Posted 24 March 2013 - 04:00 PM
KillaVanilla, on 03 February 2013 - 04:18 PM, said:
What I would do: Use HTTP, or one of the many copy/paste programs around.
Still though, nice work. I'm assuming it's server-sided.
Still though, nice work. I'm assuming it's server-sided.
Simon, on 24 March 2013 - 10:01 AM, said:
Sorry for my noobeness ,but how does one use this?
#12
Posted 28 March 2013 - 09:05 AM
Is there any protection involved in here for not putting stuff on a computer that isn't yours
#13
Posted 06 April 2013 - 03:19 PM
superaxander, on 28 March 2013 - 09:05 AM, said:
Is there any protection involved in here for not putting stuff on a computer that isn't yours
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











