source: branches/comu-ver2/html/test/uehara/captcha/ajax_captcha/result.php @ 18701

Revision 18701, 651 bytes checked in by nanasess, 14 years ago (diff)

Copyright の更新(#601)

  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-httpd-php; charset=UTF-8
Line 
1<?php
2
3// ?祉???激?с?潟?鴻?帥?若??
4session_start();
5
6// ?ュ???ゃ??????????
7$input_data = $_POST["input_data"];
8$session_data = $_SESSION["code"];
9
10// 罩c??????若?帥????????????????????
11if ($input_data == "" || $session_data == "") {
12    echo "<font color=\"red\">?ゃ???ュ?????????????</font>";
13    exit;
14}
15
16// ?ュ???ゃ??罩c?????????с???
17if ($input_data == $session_data) {
18   
19    // ???????荐惹???????????????吾???????????
20    echo "<font color=\"blue\">茯?荐惹????鐚?鐚?</font>";
21
22} else {
23
24    // ???????荐弱け?????????????吾???????????
25    echo "<font color=\"red\">茯?荐弱け??鐚?鐚?</font>";
26
27}
28?>
Note: See TracBrowser for help on using the repository browser.