Hi community!!
How can I get the computer name in Yii2?
Hello ric128.
if php < 5.3 use gethostname() function, else $_SERVER[‘REMOTE_ADDR’]