❌ Connection Error: SQLSTATE[28000] [1045] Access denied for user 'techgllp_scholarship_db'@'localhost' (using password: YES)// -- Emails -- $admin_email = 'kaksha.techno@outlook.com'; // admin notification $from_email = 'no-reply@technokaksha.com'; // mail From header // -- PDO connection (do not change unless you know) -- try { $dsn = "mysql:host=$db_host;dbname=$db_name;charset=utf8mb4"; $pdo = new PDO($dsn, $db_user, $db_pass, [ PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, ]); } catch (PDOException $e) { // For production hide details; for now return JSON error http_response_code(500); echo json_encode(['error' => 'Database connection failed. Check config.php']); exit; } /* OPTIONAL: PHPMailer + SMTP (recommended for reliable emails) 1. Run `composer require phpmailer/phpmailer` on server (or upload vendor). 2. Uncomment below and set SMTP credentials. use PHPMailer\PHPMailer\PHPMailer; require 'vendor/autoload.php'; $smtp_enabled = true; $smtp_host = 'smtp.example.com'; $smtp_user = 'smtp_user@example.com'; $smtp_pass = 'smtp_password'; $smtp_port = 587; // 587 (TLS) or 465 (SSL) $smtp_secure = 'tls'; // 'ssl' or 'tls' */ Techno Kaksha - Scholarship Form

🎓 Techno Kaksha Scholarship Form

Please fill all the required details carefully. Only one attempt is allowed per student (based on Aadhaar).

Note: Once submitted, you cannot reapply using the same Aadhaar number.
Terms: This scholarship form is intended only for Techno Kaksha student programs. Misuse of data may lead to disqualification.