Yarn

Recent twts in reply to #7kuwtmq

@lyse@lyse.isobeef.org

A few years back I made the resolution to never execute PHP code again if I can help it. 8-)

Sadly the same here too, I used to actually be a PHP Web Deveoper once upon a time, never again 😅

But congrats @darch@twtxt.net I hope pixelblog flouries! Who knows maybe we can incorporate some ideas intp yarnd over time 👌

⤋ Read More

@adi@twtxt.net Because apparently PHP is still commonly found in many cheap/free? hosting providers where allegedly nothing else is allowed? 🤔Which to be frank, I don’t really get because Lightsail is essentially free, Vultr VMs are a mere $2.50/month and I’m sure you could do interesting things on some rented space from a friend’s server or infra 😅

⤋ Read More

@lyse@lyse.isobeef.org So to sanitize the files going thought upload.php is something like preg_replace(“/[^a-z0-9\.]/”, “”, strtolower($str)); // from:http://www.touchoftechnology.com/simple-way-to-clean-up-filenames-in-php/ enough or should I use this https://gist.github.com/sumanthkumarc/2de2e2cc06c648a9f52c121501a181df or something completely different?

I relation to checking if the uploaded files is in fact images it is this code from https://www.w3schools.com/php/php_file_upload.asp good?

⤋ Read More

@adi@twtxt.net and @prologic@twtxt.net to the question about PHP. My goal is to make something anyone with ftp access can deploy in a hour without having to use a command prompt. SSH access also often comes at a extra fee if available at all. I know PHP is not the most efficient out there compared to go and static site generators like pp, but my target users are not professional programmers like you guys - pixelblog - a twtxt frontend not just for hackers™

⤋ Read More

Participate

Login to join in on this yarn.