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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Hey!

Hey!

Scheduled Pinned Locked Moved Uncategorized
phpapachechmod777
27 Posts 15 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.
  • futurebird@sauropods.winF futurebird@sauropods.win

    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

    fruitcakesareyum@mastodon.socialF This user is from outside of this forum
    fruitcakesareyum@mastodon.socialF This user is from outside of this forum
    fruitcakesareyum@mastodon.social
    wrote last edited by
    #10

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

    fruitcakesareyum@mastodon.socialF 1 Reply Last reply
    0
    • fruitcakesareyum@mastodon.socialF fruitcakesareyum@mastodon.social

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

      fruitcakesareyum@mastodon.socialF This user is from outside of this forum
      fruitcakesareyum@mastodon.socialF This user is from outside of this forum
      fruitcakesareyum@mastodon.social
      wrote last edited by
      #11

      @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
      • futurebird@sauropods.winF futurebird@sauropods.win

        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

        girgias@phpc.socialG This user is from outside of this forum
        girgias@phpc.socialG This user is from outside of this forum
        girgias@phpc.social
        wrote last edited by
        #12

        @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
        • futurebird@sauropods.winF futurebird@sauropods.win

          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@mastodon.lubar.meB This user is from outside of this forum
          ben@mastodon.lubar.meB This user is from outside of this forum
          ben@mastodon.lubar.me
          wrote last edited by
          #13

          @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
          • futurebird@sauropods.winF futurebird@sauropods.win

            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

            nyamsprod@phpc.socialN This user is from outside of this forum
            nyamsprod@phpc.socialN This user is from outside of this forum
            nyamsprod@phpc.social
            wrote last edited by
            #14

            @futurebird back in the days I remember PHP and simple HTML being used to do some comics cover generator ... but I suppose this is now a bit risky with all the legal issue around intellectual properties. But it should be easy and fun do to a similar engine for something else I guess

            futurebird@sauropods.winF 1 Reply Last reply
            0
            • nyamsprod@phpc.socialN nyamsprod@phpc.social

              @futurebird back in the days I remember PHP and simple HTML being used to do some comics cover generator ... but I suppose this is now a bit risky with all the legal issue around intellectual properties. But it should be easy and fun do to a similar engine for something else I guess

              futurebird@sauropods.winF This user is from outside of this forum
              futurebird@sauropods.winF This user is from outside of this forum
              futurebird@sauropods.win
              wrote last edited by
              #15

              @nyamsprod

              What is a "comics cover generator" ? Like a meme maker where you can change the text?

              nyamsprod@phpc.socialN 1 Reply Last reply
              0
              • futurebird@sauropods.winF futurebird@sauropods.win

                @nyamsprod

                What is a "comics cover generator" ? Like a meme maker where you can change the text?

                nyamsprod@phpc.socialN This user is from outside of this forum
                nyamsprod@phpc.socialN This user is from outside of this forum
                nyamsprod@phpc.social
                wrote last edited by
                #16

                @futurebird yes for instance Let's say you take the last One Piece manga cover and you could change the title of the chapter. Of course it meant having the exact font on the server and so forth

                nyamsprod@phpc.socialN 1 Reply Last reply
                0
                • nyamsprod@phpc.socialN nyamsprod@phpc.social

                  @futurebird yes for instance Let's say you take the last One Piece manga cover and you could change the title of the chapter. Of course it meant having the exact font on the server and so forth

                  nyamsprod@phpc.socialN This user is from outside of this forum
                  nyamsprod@phpc.socialN This user is from outside of this forum
                  nyamsprod@phpc.social
                  wrote last edited by
                  #17

                  @futurebird you can recreate something like this too 🤷 https://pufa.afup.org/

                  futurebird@sauropods.winF 1 Reply Last reply
                  0
                  • nyamsprod@phpc.socialN nyamsprod@phpc.social

                    @futurebird you can recreate something like this too 🤷 https://pufa.afup.org/

                    futurebird@sauropods.winF This user is from outside of this forum
                    futurebird@sauropods.winF This user is from outside of this forum
                    futurebird@sauropods.win
                    wrote last edited by
                    #18

                    @nyamsprod

                    This is mostly done with javaScript right? What is the role of the PHP?

                    nyamsprod@phpc.socialN 1 Reply Last reply
                    0
                    • futurebird@sauropods.winF futurebird@sauropods.win

                      @nyamsprod

                      This is mostly done with javaScript right? What is the role of the PHP?

                      nyamsprod@phpc.socialN This user is from outside of this forum
                      nyamsprod@phpc.socialN This user is from outside of this forum
                      nyamsprod@phpc.social
                      wrote last edited by
                      #19

                      @futurebird php handle the result, the persistence layer how each word are chosen for each days javascript is used for presentation only but the bulk of it (the logic) is PHP

                      futurebird@sauropods.winF 1 Reply Last reply
                      0
                      • shovemedia@triangletoot.partyS shovemedia@triangletoot.party

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

                        ben@s.djehuti.comB This user is from outside of this forum
                        ben@s.djehuti.comB This user is from outside of this forum
                        ben@s.djehuti.com
                        wrote last edited by
                        #20

                        @shovemedia @futurebird Check out Phabricator and Arcanist. Phab is like a GitHub in PHP; arc is its command line client. Both are dead projects now afaik, but they show how you can do some pretty amazing stuff in PHP.

                        In a month or two I will finish eliminating our last uses of arcanist and will remove php from our internal Ubuntu distro, and the whole company will clap.

                        But if you do want to use php, Arcanist is a great example.

                        Apparently there's a successor, Phorge, but I don't know anything about it.

                        Link Preview Image
                        Phacility - Phabricator

                        favicon

                        (phacility.com)

                        1 Reply Last reply
                        0
                        • futurebird@sauropods.winF futurebird@sauropods.win

                          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

                          david_chisnall@infosec.exchangeD This user is from outside of this forum
                          david_chisnall@infosec.exchangeD This user is from outside of this forum
                          david_chisnall@infosec.exchange
                          wrote last edited by
                          #21

                          @futurebird

                          I wrote a scrabble game in PHP (which, to avoid trademark issues, was called 'Leonard Da Quirm's Making Words Out Of Letters That Have Been Jumbled Up Game' (or whatever the correct quote was). It stored the game state as a serialised object in the filesystem after each move, so it could then give you a view of the entire game history at the end.

                          It was way back in 2003, so used a table for the board, but used some nice CSS styling to make the tiles look like tiles. Each empty slot on the board was a text box, so you would enter each letter in the place you wanted to put it. Doing your move was a complete form submit, which then checked that the letters you'd placed were ones that existed and then grep'd for the word you found in a word list file. I used grep in a child process initially because it was easy, but it also turned out to be really fast so I never bothered to make it faster.

                          We played it quite a bit when I was a student. I probably have the code somewhere, but it's almost certainly totally awful in every possible way and not something anyone should ever look at.

                          1 Reply Last reply
                          0
                          • futurebird@sauropods.winF futurebird@sauropods.win

                            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

                            jrf_nl@phpc.socialJ This user is from outside of this forum
                            jrf_nl@phpc.socialJ This user is from outside of this forum
                            jrf_nl@phpc.social
                            wrote last edited by
                            #22

                            @futurebird When I was first learning PHP I build a website to share my photos with my friends.

                            This was before Flickr, Insta etc etc.

                            Now with the move away from Big Tech, might yet again be an interesting idea to work on for teens ?

                            1 Reply Last reply
                            0
                            • nyamsprod@phpc.socialN nyamsprod@phpc.social

                              @futurebird php handle the result, the persistence layer how each word are chosen for each days javascript is used for presentation only but the bulk of it (the logic) is PHP

                              futurebird@sauropods.winF This user is from outside of this forum
                              futurebird@sauropods.winF This user is from outside of this forum
                              futurebird@sauropods.win
                              wrote last edited by
                              #23

                              @nyamsprod

                              Nice!

                              1 Reply Last reply
                              0
                              • futurebird@sauropods.winF futurebird@sauropods.win

                                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

                                richrarobi@mastodon.socialR This user is from outside of this forum
                                richrarobi@mastodon.socialR This user is from outside of this forum
                                richrarobi@mastodon.social
                                wrote last edited by
                                #24

                                @futurebird
                                I had a book, back in the day, I think I gave it to charity.

                                I think the modern equivalent is "php & mysql in easy steps", the "php for dummies" should be good, too, they usually are.

                                World of books have them both at less than £5 (used)

                                1 Reply Last reply
                                0
                                • futurebird@sauropods.winF futurebird@sauropods.win

                                  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

                                  tomberend@hachyderm.ioT This user is from outside of this forum
                                  tomberend@hachyderm.ioT This user is from outside of this forum
                                  tomberend@hachyderm.io
                                  wrote last edited by
                                  #25

                                  @futurebird uphill because PHP also means HTML (esp forms), JS, and CSS.

                                  Here's a small learning game written in PHP. https://communityreading.org/math/

                                  1 Reply Last reply
                                  0
                                  • futurebird@sauropods.winF futurebird@sauropods.win

                                    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

                                    c_salem@mastodon.socialC This user is from outside of this forum
                                    c_salem@mastodon.socialC This user is from outside of this forum
                                    c_salem@mastodon.social
                                    wrote last edited by
                                    #26

                                    @futurebird when I was learning PHP, I used the nasa API to build a satellite visualizer. A bit basic but it works, for the most part.

                                    1 Reply Last reply
                                    0
                                    • futurebird@sauropods.winF futurebird@sauropods.win

                                      @jollyorc

                                      ooooh.

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

                                      This gives me some ideas!

                                      iagox86@infosec.exchangeI This user is from outside of this forum
                                      iagox86@infosec.exchangeI This user is from outside of this forum
                                      iagox86@infosec.exchange
                                      wrote last edited by
                                      #27

                                      @futurebird @jollyorc When I was learning to program in the VB6 days, I made all kinds of character generators for my favorite RPGs

                                      1 Reply Last reply
                                      1
                                      0
                                      • R relay@relay.infosec.exchange shared this topic
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

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