I've been trying to construct a Web Hosting site using SAFE_MODE and "open_basedir ." to avoid the code from one client to access files from another (each client has a diferent directory). PHP 4.0 promises to check SAFE_MODE in whatever disk access operation, but I've found it only works with these functions:
fopen, readfile, dir, file, touch, popen
and not with:
mkdir, rmdir, link, unlink, copy,
so anyone can unlink files from another or copy one file to another location.
Does anyone know how can I get these functions work checking SAFE_MODE?
And It has been impossible to make disable_functions work, son anoybody knows the exact sintaxis for this function?
PHP version is 4.02 php-4.0.1pl2.