Blockland Forums > Modification Help
Some reference scripts
NEkram:
Awesome, nice work.
Max4344:
Image2Preview has some php errors
you should fix them
Truce:
--- Quote from: Max4344 on November 14, 2010, 08:32:03 PM ---Image2Preview has some php errors
you should fix them
--- End quote ---
--- Quote from: Truce on November 13, 2010, 04:36:32 PM ---Please do not attempt to run these as is unless you know what you're doing and understand the code, since none of these are idiot-proofed.
--- End quote ---
Ephialtes:
I've removed the Image2Preview link - I'm not too keen on seeing more abuse of the preview feature.
Truce:
--- Quote from: Ephialtes on November 15, 2010, 05:05:39 AM ---I've removed the Image2Preview link - I'm not too keen on seeing more abuse of the preview feature.
--- End quote ---
Alright. Half of me was hoping anyone who figured out exactly what to do would know the possibility of being blocked from the server previewer, but I removed the file from pasteHTML anyway incase someone bookmarked the link.
I've replaced it with a basic webserver script I had written awhile ago to test things. It doesn't have support for POST, nor does it parse the header variables, but I haven't needed to add those yet. Obviously if someone wanted to turn it into a full blown webserver, they'd have to add those (easy to do) and the 5000 error codes HTTP has. In its current state, it has a lot of things it could be used for, such as displaying hiscores or general server info, and all the user has to do is connect to your server's IP in their web browser.