Reply to Re: Reading Database BLOB with showing progress information

Your name:

Reply:


Posted by Michael Vilain on 09/27/05 22:16

In article <1127836737.174161.124160@f14g2000cwb.googlegroups.com>,
"ssp" <ssp@planicsware.de> wrote:

> Dear all,
>
> I'm dealing with a very tricky problem and can't seem to find the
> answer with google. the problem is: i want to store huge data
> (binaries) inside a mysql databases blob - to later store those data to
> a file somewhere else (from where i can connect the database).
>
> problem comes into play, when I try to output a "progress" of the
> reading of this data (kind of "xx bytes of XXX bytes already
> transmitted").
>
> Does PHP / PDO /PEAR:DB has those Buffered Read capabilities for Table
> Columns ?
>
> Has anybody done this before ?
>
> Many thanks in advance....
> Soeren

Don't think you'll be able to do this, AFAIK. Leastways, if you do, it
won't be with php, which is strictly server-side.

With php, the best I think you can do is report the total bytes to of
the object to be transfered in the headers and the browser will report
file transfer progress if it's supports that. IE and Safari do this.
But having php talk to the browser and continuously report back periodic
progress isn't possible.

You might start looking into writing a java-based client-server pair
that can do the handshaking, file transfer, and report on progress.

--
DeeDee, don't press that button! DeeDee! NO! Dee...

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация