ActivityPub Server in a Single PHP File (shkspr.mobi)
![](https://kbin.social/media/cache/resolve/entry_thumb/5e/9c/5e9c559152085a904bcc3f64e1b2f75bf590fed170a0083a1ace797564241b2f.png)
This magazine is from a federated server and may be incomplete. Browse more on the original instance.
In conclusion, it is easy to see PHP in 2024 as the forgotten child of web development, while JavaScript is the most popular kid in class. Sadly for PHP, its decline in usage is unlikely to stop any time soon — why would it, when WordPress developers are busy adapting to a new JavaScript paradigm? But at least there is active...
(I’m currently using Firefox 124.01 on Ubuntu 22.04.03 LTS) (My formatting is also givinge problems… I want to eat my own eyeballs out right now…)...
i created this function to sanitize the input fields on my site, but i need it (the function) to allow the input of some html tags. how can i improve the function to allow this?
Does anyone knows a good library to validate queries and mutations again a graphql schema file? To ensure the query/mutation is valid before sending it to the server.