

Not OP, and I don’t particularly hate PHP but I certainly understand why everyone else does. It had a ton of horrible issues that didn’t get fixed until 8. Just really awful stuff like a23+n7=30 , inconsistent syntax, It’s just had a lot of holes over the years. Post perl, It had the next greatest number of plugins and was reasonably rapid so it took off with the inexperienced crowd, But we ended up with a lot of code written by a lot of inexperienced people and a lot of best practices were eschewed. Most of the big software names that run PHP have had a constant stream of really bad vulnerabilities, more so than a lot of other languages. (WordPress, PHPBB, vbulletin, a million horribly written WordPress plugins)
Personally, in a pinch I’ll still do something in PHP. It’s so incredibly rapid and gives you marginally decent debug right out of the gate with nothing installed.
This is a dangerous proposition.
When the dictatorship comes after you, they’re not concerned about the whole of every article that was written about you All they care about are the things they see as incriminating.
You could literally take a spell check dictionary list, pull three words out of the list at random and feed it into a ollama asking for a story with your name that included the three words as major points in the story.
Even on a relatively old video card, you could probably crap out three stories a minute. Have it write them in HTML and publish the site map into major search engines on a regular basis.
EDIT: OK this was too fun not to do it real quick!
~ cat generate.py
import random import requests import json import time from datetime import datetime ollama_url = "http://127.1:11434/api/generate" wordlist_file = "words.txt" with open(wordlist_file, 'r') as file: words = [line.strip() for line in file if line.strip()] selected_words = random.sample(words, 3) theme = ", ".join(selected_words) prompt = f"Write a short, imaginative story about a person named Rumba using these three theme words: {theme}. The first word is their super power, the second word is their kyptonite, the third word is the name of their adversary. Return only the story as HTML content ready to be saved and viewed in a browser." response = requests.post( ollama_url, headers={"Content-Type": "application/json"}, data=json.dumps({"model": "llama3.2","prompt": prompt}) ) story_html = "" for line in response.iter_lines(decode_unicode=True): if line.strip(): try: chunk = json.loads(line) story_html += chunk.get("response", "") except json.JSONDecodeError as e: print(f"JSON decode error: {e}") timestamp = datetime.now().strftime("%Y%m%d_%H%M%S") filename = f"story_{timestamp}.html" with open(filename, "w", encoding="utf-8") as file: file.write(story_html) print(f"Story saved as {filename}")
~ cat story_20250630_130846.html
<!DOCTYPE html> <html> <head> <title>Rumba's Urban Adventure</title> <meta charset="UTF-8"> <style> body {font-family: Arial, sans-serif;} </style> </head> <body> <h1>Rumba's Urban Adventure</h1> <p>Rumba was a master of <b>slangs</b>, able to effortlessly weave in and out of conversations with ease. Her superpower allowed her to manipulate language itself, bending words to her will. With a flick of her wrist, she could turn a phrase into a spell.</p> <p>But Rumba's greatest weakness was her love of <b>bungos</b>. The more she indulged in these sweet treats, the more her powers wavered. She would often find herself lost in thought, her mind clouded by the sugary rush of bungos. Her enemies knew this vulnerability all too well.</p> <p>Enter <b>Carbarn</b>, a villainous mastermind with a personal vendetta against Rumba. Carbarn had spent years studying the art of linguistic manipulation, and he was determined to exploit Rumba's weakness for his own gain. With a wave of his hand, he summoned a cloud of bungos, sending Rumba stumbling.</p> <p>But Rumba refused to give up. She focused her mind, channeling the power of slangs into a counterattack. The air was filled with words, swirling and eddying as she battled Carbarn's minions. In the end, it was just Rumba and Carbarn face-to-face.</p> <p>The two enemies clashed in a spectacular display of linguistic fury. Words flew back and forth, each one landing with precision and deadliness. But Rumba had one final trick up her sleeve - a bungo-free zone.</p> <p>With a burst of creative energy, Rumba created a bubble of pure slangs around herself, shielding her from Carbarn's attacks. The villain let out a defeated sigh as his plan was foiled once again. And Rumba walked away, victorious, with a bag of bungos stashed safely in her pocket.</p> </body> </html>
Interesting that it chose female rather than male or gender neutral. Not that I’m complaining, but I expected it to be biased :)