Question : php get subdomain
Answered by : portapipe
$subdomain = explode('.', $_SERVER['HTTP_HOST'])[0];
Source : | Last Update : Wed, 16 Mar 22
Answered by : portapipe
$subdomain = explode('.', $_SERVER['HTTP_HOST'])[0];
Source : | Last Update : Wed, 16 Mar 22