Simple Php Data Upload Script 06.10.08
I need a simple PHP script that:
Existing Adobe PDF form uploads PDF file via PHP script using a HTTP Submit button (Adobe Livecycle) and upload a PDF file. About 1.5 Megs.
If you know how to handle and XDP file (XML data and PDF file in one datastream) that would be even better.
I have an ‘http submit’ in my form that working great uploading XML data to the server, but I don’t know how get the PDF upload working properly. It is a 1.5 meg file.
My current simple script that is not consistantly working:
<?
print_r(”PDFupload.php\n”);
$file = file_get_contents(”php://input”);
print_r($file);
?>