Kruzya
Kruzya
`$_SERVER['HTTPS'] ?? false` is much simpler. SB++ already requires PHP with null-coalesce operator support ([added in PHP 7.0](https://www.php.net/manual/en/migration70.new-features.php#migration70.new-features.null-coalesce-op)).
This is Source Engine issue, not SB++ and not SourceMod. Reason - used format for storing administrators and groups. Valve KeyValues caches first read capital and forces them for any...
This is not related with theme, because headers can't be modified with tpl-files.
Copy this code, insert in any file with extension PHP, save, and open in browser. Don't forget replace email.
``` ?> ``` This is not required. If you're using not old PHP. Anyway, i updated code. Small mistake. I written `$mail` as function name. Required just `mail`, without dollar.
Just replace: ```php var_dump($mail($to, $subject, $message)); ``` to: ```php var_dump(mail($to, $subject, $message)); ```
This is nice idea. What will be used? PDO?
Nice! I'll maybe try switch from ADOdb to PDO and create pull request for this repo.
Oh, ok.