Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

if browser url is having domain name in it check using php

$url = $_SERVER['SERVER_NAME'];

if (!strpos($url,'mysql')) {
echo 'No mysql.'; //swapped with other echo statement
} else {
echo 'Mysql exists.';
}
 
PREVIOUS NEXT
Tagged: #browser #url #domain #check #php
ADD COMMENT
Topic
Name
6+2 =