<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);

$_POST['per2'] = '9';
$_POST['cur2'] = '12';
$_POST['estudiante2'] = '160008';

try {
    include '../conector.php';
    include 'fpdf.php';
    
    $pdf = new FPDF();
    $pdf->AddPage();
    $pdf->SetFont('Arial','B',16);
    $pdf->Cell(0,10,'Test PDF',0,1);
    $pdf->Output('', 'I');
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}
?>