Hey!
-
@futurebird years ago, I created a PHP script that served up a map for my Neverwinter Nights gameserver from the minimap tiles. There even was a GM-version that allowed me to look at the underground layers of the map, and add annotations of where special locations were.
Alas, the GM version is gone, only the simple overview survived... https://orkpiraten.de/map/
ooooh.
The D&D and role-playing club might want to make something.
This gives me some ideas!
-
Hey!
I'm looking for some simple to understand and impressive examples of fun things teens might want to do with PHP.
Ideally interactive things their friends might want to try on a local intranet server.
PHP mixes with HTML in a really fun way, and I remember doing some neat tricks with it... but I'm very rusty.
What are the cutest things you've ever seen done with PHP?
(We will get to the issues with security later. Fun first.)
@futurebird you could probably make a simple instant messenger with php
-
R AodeRelay shared this topicR ActivityRelay shared this topic
-
Are these posts describing the implementation you saw?
I tend to think of PHP as being terrible at this kind of thing so the idea that PHP could be used for something that requires so much communication between clients and the server is amazing to me.
This is MUCH too complex for my ask, though LOL. But, I'm learning something about PHP now so I'm glad you mentioned it.
https://www.reddit.com/r/PHP/comments/47jr0p/minecraft_server_implemented_in_php_powered_by/
@futurebird it was so long ago I’ve forgotten the name of the project. I was also blown away by the performance, but I never pushed it beyond a few simultaneous clients. Apparently PHP is capable of handling quite a bit of network throughput if you go low level and take enough care.
-
@futurebird you could probably make a simple instant messenger with php
That's a good idea. Although it brings back the authentication problem, which I need to help them solve.
I should work on that today.
-
Hey!
I'm looking for some simple to understand and impressive examples of fun things teens might want to do with PHP.
Ideally interactive things their friends might want to try on a local intranet server.
PHP mixes with HTML in a really fun way, and I remember doing some neat tricks with it... but I'm very rusty.
What are the cutest things you've ever seen done with PHP?
(We will get to the issues with security later. Fun first.)
@futurebird You can use it as a bridge between APIs + use cron to run the script automatically in intervals:
- build a bot that posts an interesting quote / dad joke on Mastodon
- build a script that messages you the latest weather report in your area every few hoursIf you want to skip the cron part just put it on a webserver to render a local shell command - e.g. cowsay + random funny quote
-
ooooh.
The D&D and role-playing club might want to make something.
This gives me some ideas!
@futurebird I keep wanting to build a simple webapp that feeds a digital GM screen, but I have too-many-projects-syndrome, so I'll probably never get around to that: One UI would allow you to choose a picture from a gallery, the other simply shows the chosen picture full screen on a different device, changing it only when a "change now!" button is pressed.
-
Hey!
I'm looking for some simple to understand and impressive examples of fun things teens might want to do with PHP.
Ideally interactive things their friends might want to try on a local intranet server.
PHP mixes with HTML in a really fun way, and I remember doing some neat tricks with it... but I'm very rusty.
What are the cutest things you've ever seen done with PHP?
(We will get to the issues with security later. Fun first.)
I still use PHP both for hobby localhost webdev and also for local Linux scripting.
In the past, I made a script that monitored a folder for new files and then moved the files to subfolders depending on the extension.
I've also made a sort of dynamic class to handle MariaDB tables without having to make new handlers for every new table (I would just make a definition class that the dynamic class would then use).
PHP was the first language I learned 25 years ago. I love it.
-
I still use PHP both for hobby localhost webdev and also for local Linux scripting.
In the past, I made a script that monitored a folder for new files and then moved the files to subfolders depending on the extension.
I've also made a sort of dynamic class to handle MariaDB tables without having to make new handlers for every new table (I would just make a definition class that the dynamic class would then use).
PHP was the first language I learned 25 years ago. I love it.
For the first one, I used incron. I'm not sure if it's still available in modern Linux. I'm guessing it is, since cron is also still being used.
-
Hey!
I'm looking for some simple to understand and impressive examples of fun things teens might want to do with PHP.
Ideally interactive things their friends might want to try on a local intranet server.
PHP mixes with HTML in a really fun way, and I remember doing some neat tricks with it... but I'm very rusty.
What are the cutest things you've ever seen done with PHP?
(We will get to the issues with security later. Fun first.)
@futurebird first thing I ever built with it when I was a teen was a public chatroom that used the HTML `<meta http-equiv="Refresh">` tag to update the room. Somewhat janky but quite fun.

-
Hey!
I'm looking for some simple to understand and impressive examples of fun things teens might want to do with PHP.
Ideally interactive things their friends might want to try on a local intranet server.
PHP mixes with HTML in a really fun way, and I remember doing some neat tricks with it... but I'm very rusty.
What are the cutest things you've ever seen done with PHP?
(We will get to the issues with security later. Fun first.)
@futurebird decades ago, I made an IRC bot in PHP because it was the only language I had access to
there was also a period of time where I was running a RuneScape grand exchange website scraper that would update the RuneScape wiki and that was written in PHP too
-
That's a good idea. Although it brings back the authentication problem, which I need to help them solve.
I should work on that today.
@futurebird just make sure you can't inject sql code via login prompts.
Alternatively you could just make it a shoutbox and no care about auth