I put this piece of code: if ( $_SERVER['HTTP_HOST'] != "ilmiodominio.com" ){ die(); } , I wanted to ask how can I add more than one domain, type: ilmiodominio.com and www.ilmiodominio.com, thank you.
(Caveat, the above are untested, so typos are possible. )
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
ok thanks a lot, works great, thanks again for your courtesy and helpfulness. thank you again. hello, sorry for my English but I am Italian and I am using a translator. hello
Bookmarks