Konu
PHP [www]. Sorunu
01-02-2021, 15:18:52
#12
gencbeyin
ya da ssl varsa
if ((strpos($_SERVER['HTTP_HOST'], 'www.') === false))
{
header('Location: http
s
://www.'.$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
exit();
}