[PHP-DB] question ! show binary

2001-01-30 Thread Yui Hiroaki
HI! I am using PHP in mySQL. I create table in database and insert 'binary'(*.gif). But I do not know how to use this binary using PHP and show website. Please help me. $)create table xxx (col longlob); $)insert into xxx values("image\yyy.gif"); I want to display :yyy.gif in html Th

[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; ---head

[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. Do

[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-- - -- PHP Database Mailing List (http://ww

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: [email protected] >> Subject: [PHP-DB] max upload bl

[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 Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] phptotext]

2005-09-18 Thread Yui Hiroaki
Stevens wrote: > Just read 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 = tex

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

2005-09-19 Thread Yui Hiroaki
this. Change the line to this: > > $handle = popen("/usr/bin/pdftotext \"$original_name\" - -layout 2>&1", 'r'); > > That 'should' redirect stderr to the fread statement. > -Micah > > On Sunday 18 September 2005 5:35 am, Yui Hiroaki wrote:

[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. code-

[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 2>&1", '