GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/common/user/ |
Upload File : |
<? // common/user/userId_by_userStudentId.phpinc // Get the userId from the userStudentId. // Returns f_userId. if (da()) debugTrackBegin(); if ( isset($_SESSION['userId']) &&$_SESSION['userId'] == -1 ) $DEBUG_userId_by_userStudentId = true; if ( !isset($DEBUG_userId_by_userStudentId) ) $DEBUG_userId_by_userStudentId = false; $query = " SELECT userId FROM `user` WHERE userStudentId = '".query_safe($userStudentId)."' "; $v_userStudentResult = query_do($query); $v_userStudentResultCount = $_SESSION['qry']['count']; if ( $DEBUG_userId_by_userStudentId ) { printVar('$query',$query,'q'); printVar('$v_userStudentResult',$v_userStudentResult,'f'); } if ($v_userStudentResultCount != 1) { $f_error = 'Got '.$v_userStudentResultCount.' users with userStudentId '.$userStudentId.'.<span class="d_s_fl"> '.basename(__FILE__).':'.__LINE__.'</span><span class="d_s_fp"> '.basename(__FILE__).':'.__LINE__.'</span>'; require('common/pageHeader.phpinc'); require('common/displayErrorsAndMessages.phpinc'); require('common/pageFooter.phpinc'); } mysqli_data_seek($v_userStudentResult, 0); $v_userStudentRow = mysqli_fetch_assoc($v_userStudentResult); $f_userId = $v_userStudentRow['userId']; if ( $DEBUG_userId_by_userStudentId ) { printVar('$f_userId',$f_userId,'f'); } // Cleanup. unset($v_userStudentResult); unset($v_userStudentResultCount); unset($v_userStudentRow); if (da()) debugTrackEnd(); ?>