it is possible to disable php functions (mail(),file(), etc...) from httpd.conf just for a virtual host or the disable php functions feature is possible just from php.ini ?
php question
Collapse
X
-
Originally posted by grumpyyes it is. But dont ask me how.
Really? How?Comment
-
Name Default Changeable Changelog
SMTP "localhost" PHP_INI_ALL
smtp_port "25" PHP_INI_ALL Available since PHP 4.3.0.
sendmail_from NULL PHP_INI_ALL
sendmail_path NULL PHP_INI_SYSTEM
just change localhost to some bogus nameDon't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888Comment
-
php_value disable_functions file,mail
(in .htaccess, or in a virtualhost or similar container in httpd.conf)
edit: ouch. cant use this in httpd.conf, i was going from memory...
http://us2.php.net/manual/en/feature...able-functions
php.ini only. enjoy.Last edited by studiocritic; 02-03-2006, 01:51 AM.254342256Comment


Comment