![]() |
php question
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 ?
|
yes it is. But dont ask me how.
|
Quote:
|
Quote:
Really? How? |
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 name |
i was wrong about the file()
There is no installation needed to use these functions; they are part of the PHP core |
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. |
| All times are GMT -7. The time now is 12:32 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123