sample.php 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Smart Editor&#8482; WYSIWYG Mode</title>
  6. <link href="../../css/compiled/open/ko_KR/smart_editor2_in.css" rel="stylesheet" type="text/css">
  7. </head>
  8. <body class="smartOutput se2_inputarea">
  9. <p>
  10. <b><u>에디터 내용:</u></b>
  11. </p>
  12. <div style="width:736px;">
  13. <?php
  14. $postMessage = $_POST["ir1"];
  15. echo $postMessage;
  16. ?>
  17. </div>
  18. <hr>
  19. <p>
  20. <b><span style="color:#FF0000">주의: </span>sample.php는 샘플 파일로 정상 동작하지 않을 수 있습니다. 이 점 주의바랍니다.</b>
  21. </p>
  22. <?php echo(htmlspecialchars_decode('&lt;img id="test" width="0" height="0"&gt;'))?>
  23. <script>
  24. if(!document.getElementById("test")) {
  25. alert("PHP가 실행되지 않았습니다. 내용을 로컬 파일로 전송한 것이 아니라 서버로 전송했는지 확인 해 주십시오.");
  26. }
  27. </script>
  28. </body>
  29. </html>