I have a (possibly dumb) question. I have a script made in php built to use cli. Works well when I run it from the command line, no problem. The problem is that on the site I work on, there are restrictions on ssh on the hosting server, and I can not start it. Hence my question: how can I run a script from another php available on the Internet? Already tried with exec (), system (), etc. The main problem is that I need its variable $ _SERVER ['SHELL'], and when the call is sent from a web browser, of course php does not set it.
Any ideas would be much appreciated than x.
source share