Re: [PHP] www.soongy.com

2009-03-02 Thread Michael A. Peters
Gevorg Harutyunyan wrote: Hi guys I need to create file upload progress bar using PHP and AJAX. I found two Pecl extensions that support that may be used: uploadprogress and php-apc. I asked my shared hosting provider to add that extensions, but my request was declined, because uploadprogress

Re: [PHP] www.soongy.com

2009-03-02 Thread mike
one thing to note is the php-apc upload progress won't scale past one server as far as i know. if you have multiple webservers you'll be stuck. you'd need some sort of ajax thing to actually check how many bytes the file has written to, for example. you also need to know how large the file is,

Re: [PHP] www.soongy.com

2009-03-02 Thread Gevorg Harutyunyan
Hi Michael, Thanks for info. I use shared hosting and reason that they don't allow that extension is that uploadprogress is still in beta. I tried both apc and uploadprogress on my local PC and solutions that they provide are very good for me. I will be happy to change hosting provider and if

Re: [PHP] www.soongy.com

2009-03-02 Thread Michael A. Peters
Gevorg Harutyunyan wrote: Hi Michael, Thanks for info. I use shared hosting and reason that they don't allow that extension is that uploadprogress is still in beta. I tried both apc and uploadprogress on my local PC and solutions that they provide are very good for me. I will be happy to

Re: [PHP] www.soongy.com

2009-03-02 Thread mike
That's the good thing about this, it does not require any hosting changes. It's just text being sent via POST just like a normal form submit, the PHP code portion just accepts the data and assembles the file based off of it. The Gears stuff is all client side, so it requires no server side stuff.

Re: [PHP] www.soongy.com

2009-03-01 Thread tedd
At 2:20 PM +0400 3/1/09, Gevorg Harutyunyan wrote: Hi guys I need to create file upload progress bar using PHP and AJAX. I found two Pecl extensions that support that may be used: uploadprogress and php-apc. I asked my shared hosting provider to add that extensions, but my request was declined,

Re: [PHP] www.soongy.com

2009-03-01 Thread Nitsan Bin-Nun
There is no need to go that far, try to google a bit about swfupload. In short, this is a flash javascript component that give's you the ability to maintain the upload, get the current speed, get the current amount of uploaded data, etc. It is very simple and works like a charm on a dedi server.

Re: [PHP] www.soongy.com

2009-03-01 Thread tedd
At 4:17 PM +0200 3/1/09, Nitsan Bin-Nun wrote: There is no need to go that far, try to google a bit about swfupload. In short, this is a flash javascript component that give's you the ability to maintain the upload, get the current speed, get the current amount of uploaded data, etc. It is

Re: [PHP] www.soongy.com

2009-03-01 Thread German Geek
Also check this one out: google uses it in gmail: http://code.google.com/p/jquery-multifile-plugin/downloads/detail?name=multiple-file-upload.zipcan=2q= Cheers, Tim Tim-Hinnerk Heuer http://www.ihostnz.com Groucho Marx - I have had a perfectly wonderful evening, but this wasn't it. 2009/3/2

Re: [PHP] www.soongy.com

2009-03-01 Thread mike
you can use gears pretty easily to make a seamless multiple file upload now. it's all javascript too so you can make it look how you want, behave how you want, etc. without having to buy/tweak flash code. On Sun, Mar 1, 2009 at 12:07 PM, German Geek geek...@gmail.com wrote: Also check this one

Re: [PHP] www.soongy.com

2009-03-01 Thread tedd
At 12:13 PM -0800 3/1/09, mike wrote: you can use gears pretty easily to make a seamless multiple file upload now. it's all javascript too so you can make it look how you want, behave how you want, etc. without having to buy/tweak flash code. On Sun, Mar 1, 2009 at 12:07 PM, German Geek

Re: [PHP] www.soongy.com

2009-03-01 Thread mike
gears will allow you to do that, more or less. i have it going... On Sun, Mar 1, 2009 at 12:34 PM, tedd tedd.sperl...@gmail.com wrote: At 12:13 PM -0800 3/1/09, mike wrote: you can use gears pretty easily to make a seamless multiple file upload now. it's all javascript too so you can make it

Re: [PHP] www.soongy.com

2009-03-01 Thread Gevorg Harutyunyan
Thank you all for your help! I tried to do without being dependent from flash, but as I see there are only two ways for this: flash and loading without tracking percentage. I choose second way :) On Mon, Mar 2, 2009 at 1:58 AM, mike mike...@gmail.com wrote: gears will allow you to do that,

Re: [PHP] www.soongy.com

2009-03-01 Thread mike
I have a basic demo here. The code is not at it's best, you have to hit reload to upload a new file. http://mikehost.com/~mike/tmp/u/ It does show you though with some javascript trickery and some math you can derive estimated time and approximate speed. I did have an example of multiple files

RE: [PHP] www.soongy.com

2007-08-15 Thread Sanjeev N
Hi Gevorg, Great work.. But few things. Scroller is not working even at bottom content is there... I tried in both mozila and IE... In IE when I selected text and moved down then it scrolled down. But where in Mozila no use... Warm Regards, Sanjeev http://www.sanchanworld.com/

RE: [PHP] www.soongy.com

2007-08-14 Thread Bastien Koert
Looks nice, but you need to have it adapt to screen resolutions...the fixed size of the page doesn't allow for scrolling etc...does not fit well on a 1400x900 laptop screen bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 14 Aug 2007 20:15:27 +0500 Subject: [PHP]

Re: [PHP] www.soongy.com

2007-08-14 Thread heavyccasey
Yes, add a scroll-bar. Middle-click works, for those who wants to read. On 8/14/07, Bastien Koert [EMAIL PROTECTED] wrote: Looks nice, but you need to have it adapt to screen resolutions...the fixed size of the page doesn't allow for scrolling etc...does not fit well on a 1400x900 laptop