Ready for clone https://github.com/sorenpeter/pixelblog
@firstname.lastname@example.org where do I sign up to subscribe to that devil’s treatment? It sounds so enticing! Shagadelic, baby. Oh, stop it! 🤣
@email@example.com Why PHP based and not
@firstname.lastname@example.org Thank for the PR fixing the typo and for reminding me to get rid of the apple garbage files.
@email@example.com 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?
@firstname.lastname@example.org You are more than welcome to nick what every ideas and features you like - the only really new think pixelblog is adding is the gallery view, where you are free to rewrite it go.
@email@example.com and @firstname.lastname@example.org 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™
@email@example.com in an easy to read twt you not only managed to explain to @firstname.lastname@example.org the issues his code has, and potential solutions, but by now he fully understands he shouldn’t be meddling with PHP programming, and instead use a solution provided by people who do that for a living. 🤣 It will not be fully fool proof, but certainly better than what he has right now.
@email@example.com where is the fun in that 🤣