How can PHP extensions like php_imap.dll and php_openssl.dll be enabled on a Freehoster that does not allow direct modification of php.ini?

Freehosters that do not allow direct modification of php.ini can still enable PHP extensions like php_imap.dll and php_openssl.dll by using the `dl()` function in PHP. This function dynamically loads a PHP extension at runtime, allowing the extensions to be enabled without directly modifying php.ini.

if (!extension_loaded('imap')) {
    dl('path_to_php_imap_extension/php_imap.dll');
}

if (!extension_loaded('openssl')) {
    dl('path_to_php_openssl_extension/php_openssl.dll');
}