Do you have a question? Post it now! No Registration Necessary. Now with pictures!
January 5, 2005, 11:03 am
rate this thread
How to set BASH variable form PHP which is working in "safe_mode" ?
.... and to check if it's set for sure ?
I find out that I should create directory for binaries in home
direcotry of user and assign this direcotry to PHP variable -
Then I've copyed to this direcotry "/usr/local/bin/bash" and
This works fine WITHOUT "safe_mode":
system('BOOM=blowwww && set | grep BOOM');
but in "safe_mode" there is no output in web-browser and no errors
appear in error log file.