PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I've setup an automated script that thens selects some other scripts to run depending on day, time (which I would have done on a cron but it needs other info dependant on whether work is open or not!) however I've hit a problem.
Note: When safe mode is enabled, you can only execute files within the safe_mode_exec_dir. For practical reasons, it is currently not allowed to have .. components in the path to the executable.
There are 10 types of people in this world, those who understand binary and those who don't
As I said :
- create a directory (e.g. /my/directory);
- copy executables you want to be available in this directory;
- change safe_mode_exec_dir = "/my/directory"
- restart Apache.
You can also run phpinfo() and see what's the current value for safe_mode_exec_dir and use it (if there is a value)
There are 10 types of people in this world, those who understand binary and those who don't