# Check whether server is http or https
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
echo $uri;
?>
Here, In below code, user can enter two numbers to find the odd and even numbers between them. The number must be in between 1000 and 3000...
No comments:
Post a Comment