html and php… trying to send variable to new page and load image/pdf file?


I am trying to make a generic page that will view any pdf file I need it to.

I have a menu page where the person can choose from a list what pdf file they want to view, but its not working. Here is my coding so far:

MENU PAGE:

Deposition PDF $image="images/deptrans/Consigliati Exhibits 102507.pdf";
$_POST[$image];
?>

and the pdfViewer page code:

$pdf= $_GET['image'];
?>

You can leave a response, or trackback from your own site.

Leave a Reply