hello,<br>i want to embed this code in 520 tag so that it places text file into 520 (abstract) tag before saving the record ....<br><br><br>the following php code accepts a pdf file path, converts it 2 text and place it into the text area. <br>
<br><span style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">$file=$_POST['file'];</span><br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);"><span style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">exec ("pdftotext $file '/var/www/testFile.txt'");</span><br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">
<span style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">exec ("tr -d '\012' </var/www/testFile.txt> /var/www/tf.txt");</span><br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">
<br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);"><span style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">$myFile = "/var/www/tf.txt";</span><br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">
<span style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">$fh = fopen($myFile, 'r');</span><br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);"><span style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">$theData = fread($fh, 10000000);</span><br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">
<span style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">fclose($fh);</span><br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);"><br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">
<br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);"><span style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">echo '<textarea name="stuff" cols="60" rows="10">';</span><br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">
<span style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">echo stripslashes($theData);</span><br style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);"><span style="background-color: rgb(255, 255, 255); color: rgb(204, 0, 0);">echo '</textarea><br>';</span><br>
<br><br>want to place this text into the abstract field(520 tag).<br>
<br><br>plz help me doing this.<br>Thank u :)<br><br><br><br>