Changeset 10471 for temp/trunk/html


Ignore:
Timestamp:
2006/12/08 12:45:50 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/test/uehara/captcha/ajax_captcha/result.php

    r10467 r10471  
    88$session_data = $_SESSION["security_code"]; 
    99 
    10 // POSTデータのみ受け付ける 
    11 if ($input_data == "") {  
    12  echo "FORMから入力して下さい。"; 
     10// 正しくデータが送られてきているか 
     11if ($input_data == "" || $session_data == "") {  
     12 echo "値を入力して下さい。"; 
    1313 exit; 
    1414} 
    1515 
    1616// セッションの値が正しいかチェック 
    17 if (($input_data == $session_data) && ($input_data != "" && $session_data != "")) { 
     17if ($input_data == $session_data) { 
    1818    echo "認証成功!!"; 
    1919} else { 
Note: See TracChangeset for help on using the changeset viewer.