<?php

function process_scan($id) {
    // Validate and sanitize the user_id
    $user_id = intval($id); // Example sanitization
    
    $redirect_url = "http://192.168.43.187:8080/1/mips/php/process_scan.php?id=$user_id" . urlencode($user_id);
    header("Location: $redirect_url");
    exit();
}
?>
