I need to run a legacy PHP application in a shared hosting environment. I have promised my customer I\'ll support that legacy application for some time but I found that it d
It looks like the following can work.
First, create an edisplaypatch.php somewhere with following code
This code can be generalized and reused with any other program requiring the old long arrays
Then in Apache's vhost configuration add
SetEnv EDISPLAY_PATCH true
Reload Apache.
Test code works: if SetEnv is not present doesn't show nothing, if present shows what you send as rnd parameter in querystring
Little drawback: I'm including a file on EVERY PHP request