I'm sure it is just a coincidence, but having written a bit about spam on one site, I got a deluge of the stuff on another.

Agreed. The thing is that I don’t do this sort of thing often enough to make it worth the learning. FWIW I did most this in Atom and being able to follow calls around helped a lot.

True justice would require him to be the broom.

//

For the record [jeremycherfas.net]

//

Now to do a little bitty write-up, at least as an outboard memory.

//

Why can't I pick all three?

And fixed! To my own satisfaction at least.

//

Indeed. I finally learned how to dump PHP from Grav (which uses Twig) onto the page. And that revealed that a crucial test

$post = isset($<u>POST['data']) ? $</u>POST['data'] : []; completely fails every time because $_POST does not contain a 'data' value.

Now to find out why the original programmers thought it did.

//

That, at a lower level, is what I have been doing. Annotating, putting questions in the code, trying to work out what is called from where. And I think I have a breakthrough. But had to stop for lunch before testing.

Absolutely. Just three things wrong with that.

  1. I am not a dev
  2. It is Tuesday morning here
  3. I didn't write the code

But I am making progress, slowly