[PHP-DB] full text search

2005-08-11 Thread Yui Hiroaki
I have a question about full text search using mysql and php. There is text or html file data inside mysql, then I would like to search text from these file. when I filed some text inside text box in web site. mysql colum has below b_col_id, b_col, file_name I have wrote the code;

[PHP-DB] word to text

2005-08-13 Thread Yui Hiroaki
hi! Does anyone knows how to retrive text from Microsoft word and Adobe PDF using php? Regards, Yui -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] cannot recognize $_FILES['UploadedFile']['type'];

2005-08-21 Thread Yui Hiroaki
I try to upload file from web. I use $_FILES['UploadedFile']['type']; It'file type is recognized by inix or linux enviroment. Now I use php on windows 2003 server. It does not recognize file type to up load file from web. I upload html, but $_FILES['UploadedFile']['type']; recognize as a text.

[PHP-DB] max upload blob size

2005-08-24 Thread Yui Hiroaki
I would like to know how much maximum size's blob(binary data) from web site? I have set up 512000, I would like to extend value. Code-- form method=post action=document.php enctype=multipart/form-data input type=hidden name=MAX_FILE_SIZE

Re: [PHP-DB] max upload blob size

2005-08-24 Thread Yui Hiroaki
Check the docs for your db Yes, your right.But I can not find the documentation of max of blog? yui bastien From: Yui Hiroaki [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] max upload blob size Date: Wed, 24 Aug 2005 19:31:02 +0900 I would

[PHP-DB] com and retrieve text from word

2005-08-30 Thread Yui Hiroaki
I would like to get text from MS word using COM. My plat form is Windows 2003 server. Do suggest me to retrieve text!! Yui -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] retrieve text from pdf

2005-09-06 Thread Yui Hiroaki
hi! Anyone know how to retrieve text from pdf? If someone knows how, please teach me the code or site? Regards, yui -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] phptotext

2005-09-17 Thread Yui Hiroaki
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

Re: [PHP-DB] phptotext]

2005-09-18 Thread Yui Hiroaki
the command docs, and you'll come up with something like this: $handle = popen(/usr/bin/pdftotext \uploads/$filename\ - -layout , 'r'); $read = fread($handle, 2048000); pclose($handle); $read = text content of pdf. -Micah On Saturday 17 September 2005 6:29 am, Yui Hiroaki wrote: I would

[Fwd: Re: [PHP-DB] phptotext]]

2005-09-19 Thread Yui Hiroaki
stderr to the fread statement. -Micah On Sunday 18 September 2005 5:35 am, Yui Hiroaki wrote: Thank you for your quick reply. So I try to rewrite code again below; $handle = popen(/usr/bin/pdftotext \$original_name\ - -layout ,'r'); $read = fread($handle, 2048000); echo $read; pclose($handle

[PHP-DB] insert error for mysql

2005-09-19 Thread Yui Hiroaki
hi! I have an error message to try to insert character into table. But I have an error messages like below. When I try to insert $strbuf, I got error. Could not perform INSERT to table 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for

Re: [PHP-DB] phptotext]

2005-09-20 Thread Yui Hiroaki
if there is only English word inside pdf, I can retrieve text from pdf, but there are involved Japanese text inside pdf, I got error and can not retrieve any text from pdf. I would like to retrieve text from pdf. It is not necessarey to retrieve Japanese text.

[PHP-DB] antiword error for popen

2005-09-21 Thread Yui Hiroaki
I have an error showing;I can't find the name of your HOME directory when I upload word doc and retrieve text by antiword. I do not know why I will get kind like error! code--- $handle = popen(/usr/bin/antiword \$original_tmp\ -t 21, 'r');