How do i check if a domainname(domain.com) of a site running my script is the same as in a file?
example:
(de key file includes: domain.com)
how do i let it check if its the same as where its run from
$check=domain.com
if its not on domain.com it should go false
Domain verification
Moderator: General Moderators
ok but how do i get that output from http://www.realmaturesluts.com to realmaturesluts.com ?
<?
$domein = $_SERVER["HTTP_HOST"];
$remote = $_SERVER["REMOTE_ADDR"];
echo $domein;
echo $remote;
?>
<?
$domein = $_SERVER["HTTP_HOST"];
$remote = $_SERVER["REMOTE_ADDR"];
echo $domein;
echo $remote;
?>