[Koha] placing text into 520 tag. Help plz.!
arun j
aj7700 at gmail.com
Tue Mar 23 19:01:28 NZDT 2010
hello,
i want to embed this code in 520 tag so that it places text file into 520
(abstract) tag before saving the record ....
the following php code accepts a pdf file path, converts it 2 text and place
it into the text area.
$file=$_POST['file'];
exec ("pdftotext $file '/var/www/testFile.txt'");
exec ("tr -d '\012' </var/www/testFile.txt> /var/www/tf.txt");
$myFile = "/var/www/tf.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, 10000000);
fclose($fh);
echo '<textarea name="stuff" cols="60" rows="10">';
echo stripslashes($theData);
echo '</textarea><br>';
want to place this text into the abstract field(520 tag).
plz help me doing this.
Thank u :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20100323/68ad13da/attachment.htm
More information about the Koha
mailing list