I would like to retrieve text from pdf. So I try to comand pdftotext at xpdf command. How can I write code? ex; <?php $original_tmp = $_FILES['UploadedFile']['tmp_name']; $original_name = $_FILES['UploadedFile']['name']; $fileHandle = fopen($original_tmp, "r"); $uu=exec('pdftotext $original_name');//or system('pdftotext $original_name'); ?> <form method="post" action="document.php" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="512000"> <input type="file" name="UploadedFile" style="border: 1px solid; width:200px; height:20px; position:absolute; left:100px; top:100px; "><br> <input type="submit" value="upload" style="border: 1px solid; width:200px; height:20px; position:absolute; left:100px; top:130px; "> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php