336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

HTML 메일에 간단하게 알려드리겠습니다.

 

<!DOCTYPE html>
<html>
<body>

<p>
This is an email link:
<a href="mailto:someone@example.com?Subject=Hello%20again" target="_top">Send Mail</a>
</p>

<p>
<b>Note:</b> Spaces between words should be replaced by %20 to ensure that the browser will display the text properly.
</p>

</body>
</html>

336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

 

 

$.ajax({
   type:'POST',
   data:new FormData($('#formId')[0]),
   cache: false,
   processData: false,
   contentType:false,
   url:"URL주소",
   success:성공함수,
   error:에러함수
  });

 

 

 

336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

안녕하세요 이번엔 PHP에서 주소를 가져오는 방법을 알려드릴꼐요.

 

<?

   

    $hostname=$_SERVER["HTTP_HOST"]; //도메인명(호스트)명을 구합니다.
   $uri= $_SERVER['REQUEST_URI']; //uri를 구합니다.
   $query_string=getenv("QUERY_STRING"); // Get값으로 넘어온 값들을 구합니다.
   $phpself=$_SERVER["PHP_SELF"]; //현재 실행되고 있는 페이지의 url을 구합니다.
   $basename=basename($_SERVER["PHP_SELF"]); //현재 실행되고 있는 페이지명만 구합니다.

   echo$hostname."<br>";
   echo$uri."<br>";
   echo$query_string."<br>";
   echo$phpself."<br>";
   echo$basename."<br>";


?>

순차적으로 예를 나타낸다면

www.nver.com

/test.php?con=ddd

con=ddd

/test.php

test.php

+ Recent posts