@ 2016-01-05T23:50:15Z <?php
error_reporting(1);
$conn = mssql_connect("WIN-7MF117JOIU2","sa2","Baby13!@") or die ( 'Can not connect to server' );
mssql_select_db("MobBabySentryPro", $conn) or die ( 'Can not select database' );
$data = base64_decode($_POST['data']);
parse_str($data, $data);
$ivfnbr = $data['ivfnbr'];
$clinic =$data['clinic'];
$dob =$data['dob'];
$proc = mssql_init('MobProcLogin', $conn);
mssql_bind($proc,'@Ivfnbr',$ivfnbr,SQLVARCHAR);
mssql_bind($proc,'@clinic',$clinic,SQLVARCHAR);
mssql_bind($proc,'@DOB',$dob,SQLVARCHAR);
mssql_bind($proc,'@status',$status,SQLINT4,true);
$proc_result = mssql_execute($proc);
if ($status == 1)
print '{"status": 1,"data":"Logged in successfully"}';
else
print '{"status": -1,"data":"Incorrect credrentials"}';
mssql_free_statement($proc);
mssql_close();
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.27 , 8.2.0 - 8.2.17 , 8.3.0 - 8.3.4 Fatal error: Uncaught Error: Call to undefined function mssql_connect() in /in/Jsk2T:4
Stack trace:
#0 {main}
thrown in /in/Jsk2T on line 4
Process exited with code 255 . Output for 5.5.0 - 5.5.38 , 5.6.0 - 5.6.38 Fatal error: Call to undefined function mssql_connect() in /in/Jsk2T on line 4
Process exited with code 255 . preferences:dark mode live preview
195.85 ms | 401 KiB | 319 Q