Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. Hey!

Hey!

Scheduled Pinned Locked Moved Uncategorized
phpapachechmod777
15 Posts 8 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • myrmepropagandistF myrmepropagandist

    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.)

    #php #Apache #chmod777

    Fox Ritch :fjoxicon:🇩🇪F This user is from outside of this forum
    Fox Ritch :fjoxicon:🇩🇪F This user is from outside of this forum
    Fox Ritch :fjoxicon:🇩🇪
    wrote last edited by
    #6

    @futurebird you could probably make a simple instant messenger with php

    myrmepropagandistF 1 Reply Last reply
    1
    0
    • R AodeRelay shared this topic
      R ActivityRelay shared this topic
    • myrmepropagandistF myrmepropagandist

      @shovemedia

      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/

      Jon WilliamsS This user is from outside of this forum
      Jon WilliamsS This user is from outside of this forum
      Jon Williams
      wrote last edited by
      #7

      @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.

      1 Reply Last reply
      0
      • Fox Ritch :fjoxicon:🇩🇪F Fox Ritch :fjoxicon:🇩🇪

        @futurebird you could probably make a simple instant messenger with php

        myrmepropagandistF This user is from outside of this forum
        myrmepropagandistF This user is from outside of this forum
        myrmepropagandist
        wrote last edited by
        #8

        @fox

        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.

        Fox Ritch :fjoxicon:🇩🇪F 1 Reply Last reply
        0
        • myrmepropagandistF myrmepropagandist

          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.)

          #php #Apache #chmod777

          WolfgangW This user is from outside of this forum
          WolfgangW This user is from outside of this forum
          Wolfgang
          wrote last edited by
          #9

          @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 hours

          If 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

          1 Reply Last reply
          0
          • myrmepropagandistF myrmepropagandist

            @jollyorc

            ooooh.

            The D&D and role-playing club might want to make something.

            This gives me some ideas!

            JollyOrcJ This user is from outside of this forum
            JollyOrcJ This user is from outside of this forum
            JollyOrc
            wrote last edited by
            #10

            @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.

            1 Reply Last reply
            0
            • myrmepropagandistF myrmepropagandist

              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.)

              #php #Apache #chmod777

              Fruits! 🧔🏻‍♂️🏳️‍⚧️🏳️‍🌈F This user is from outside of this forum
              Fruits! 🧔🏻‍♂️🏳️‍⚧️🏳️‍🌈F This user is from outside of this forum
              Fruits! 🧔🏻‍♂️🏳️‍⚧️🏳️‍🌈
              wrote last edited by
              #11

              @futurebird

              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.

              Fruits! 🧔🏻‍♂️🏳️‍⚧️🏳️‍🌈F 1 Reply Last reply
              0
              • Fruits! 🧔🏻‍♂️🏳️‍⚧️🏳️‍🌈F Fruits! 🧔🏻‍♂️🏳️‍⚧️🏳️‍🌈

                @futurebird

                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.

                Fruits! 🧔🏻‍♂️🏳️‍⚧️🏳️‍🌈F This user is from outside of this forum
                Fruits! 🧔🏻‍♂️🏳️‍⚧️🏳️‍🌈F This user is from outside of this forum
                Fruits! 🧔🏻‍♂️🏳️‍⚧️🏳️‍🌈
                wrote last edited by
                #12

                @futurebird

                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.

                1 Reply Last reply
                0
                • myrmepropagandistF myrmepropagandist

                  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.)

                  #php #Apache #chmod777

                  Gina Peter BanyardG This user is from outside of this forum
                  Gina Peter BanyardG This user is from outside of this forum
                  Gina Peter Banyard
                  wrote last edited by
                  #13

                  @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. 🙂

                  1 Reply Last reply
                  0
                  • myrmepropagandistF myrmepropagandist

                    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.)

                    #php #Apache #chmod777

                    Ben Lubar (any pronouns)B This user is from outside of this forum
                    Ben Lubar (any pronouns)B This user is from outside of this forum
                    Ben Lubar (any pronouns)
                    wrote last edited by
                    #14

                    @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

                    1 Reply Last reply
                    0
                    • myrmepropagandistF myrmepropagandist

                      @fox

                      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.

                      Fox Ritch :fjoxicon:🇩🇪F This user is from outside of this forum
                      Fox Ritch :fjoxicon:🇩🇪F This user is from outside of this forum
                      Fox Ritch :fjoxicon:🇩🇪
                      wrote last edited by
                      #15

                      @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

                      1 Reply Last reply
                      1
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups