PHP code example of webarchitect609 / bitrix-email-as-login
1. Go to this page and download the library: Download webarchitect609/bitrix-email-as-login library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webarchitect609 / bitrix-email-as-login example snippets
$options = ['new_user_email_n) {
COption::SetOptionString('main', $option, 'Y');
}
foreach ($options as $option) {
echo sprintf(
'%s=%s' . PHP_EOL,
$option,
COption::GetOptionString('main', $option, 'null')
);
}