This question is an extension of https://www.experts-exchange.com/questions/29227591/php-download-file-program-not-working.html
The Expert who was helping me with this has become unresponsive.
In essence, when I rent the attached php script in a sub folder one level down from public_html, it does not work.
If I run it at the root (public_html) it works perfectly.
Why is that?