79584046

Date: 2025-04-21 05:02:17
Score: 1
Natty:
Report link

Simplest solution

echo array_slice(explode(".",$_SERVER['HTTP_HOST']),-2,1)[0];

This will show the domain name as "imgur". Change -2,1 to -2,0 (or simply -2) to show the domain as "imgur.com"

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sunil Gautam