¸ÞÀϼ¹ö, À¥¼¹ö ºÐ¸® »ç¿ë½Ã 1Â÷µµ¸ÞÀÎ »ç¿ë¹ý |
±Û ¾´ ÀÌ |
linux |
³¯ Â¥ |
2003³â 01¿ù 28ÀÏ 12½Ã 48ºÐ 28ÃÊ |
º» ¹® |
// ÁÖ¼Ò¸¦ ¾ò¾î³½´Ù.
$address = $HTTP_HOST;
$address = trim( strtolower($address) );
// ÁÖ¼Ò¸¦ ºñ±³ÇÏ¿© °¥ °÷À» Á¤ÇØÁØ´Ù.
if( $address == "mail.hc21.com" || $address=="mail.nanune.net")
$echo_addr = "index.html";
else
{
$echo_addr = "http://www.".$address;
}
echo ("
");
?>
|
|
|
|