smsla

[insert_php] # PROCESS LOGIN ATTEMPT. # Check form submitted. if ( $_SERVER[ ‘REQUEST_METHOD’ ] == ‘POST’ ) { # Open database connection. require ( ‘SMSconnect_db.php’ ) ; # Get connection, load, and validate functions. require ( ‘login_tools.php’ ) ; # Check login. list ( $check, $data ) = validate ( $dbc, $_POST[ ‘username’ ], $_POST[… Read More ›

SMS2

[insert_php] # DISPLAY COMPLETE LOGIN PAGE. # Set page title and display header section. $page_title = ‘Login’ ; # Display any error messages if present. if ( isset( $errors ) && !empty( $errors ) ) { echo ‘ Oops! There was a problem:‘ ; foreach ( $errors as $msg ) { echo ” – $msg”… Read More ›