<?php
error_reporting(E_ERROR | E_PARSE);

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

include '../conector.php';
include 'fpdf.php';

class PDF extends FPDF
{
    function Header(){}
}

$pdf = new PDF('P','cm','letter');
$pdf->AddPage();
$pdf->SetFont('Arial','B',12);
$pdf->Cell(0,10,'Test generador_final.php funciona!',0,1);
$pdf->Output('test_final.pdf','F');
echo "PDF generado\n";
?>