Re: [PHP] file locking...

2009-03-01 Thread Ashley Sheridan
On Sat, 2009-02-28 at 21:46 -0800, bruce wrote: > Hi. > > Got a bit of a question/issue that I'm trying to resolve. I'm asking this of > a few groups so bear with me. > > I'm considering a situation where I have multiple processes running, and > each process is going to access a number of files i

Re: [PHP] Re: "use strict" or similar in PHP?

2009-03-01 Thread Jim Lucas
Stuart wrote: 2009/3/1 Shawn McKenzie Stuart wrote: 2009/2/28 Shawn McKenzie Robert Cummings wrote: On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:

Re: [PHP] Re: "use strict" or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sat, 2009-02-28 at 18:57 -0600, Shawn McKenzie wrote: > Stuart wrote: > > 2009/2/28 Shawn McKenzie > > > >> Robert Cummings wrote: > >>> On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: > On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: > > On Sat, 2009-02-28 at 00:0

Re: [PHP] file locking...

2009-03-01 Thread Robert Cummings
On Sat, 2009-02-28 at 21:46 -0800, bruce wrote: > Hi. > > Got a bit of a question/issue that I'm trying to resolve. I'm asking this of > a few groups so bear with me. > > I'm considering a situation where I have multiple processes running, and > each process is going to access a number of files i

[PHP] www.soongy.com

2009-03-01 Thread Gevorg Harutyunyan
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" is still BETA version an

Re: [PHP] Re: "use strict" or similar in PHP?

2009-03-01 Thread tedd
The OP asked: Is there in PHP something like "use strict" from perl? I find it pretty annoying to need to run script over and over again just to find out that I made typo in variable name. And I've been waiting for an answer myself, but I haven't seen one. From what I remember, in perl if you

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 declin

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] Re: "use strict" or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 08:36 -0500, tedd wrote: > The OP asked: > > >Is there in PHP something like "use strict" from perl? I find it pretty > >annoying to need to run script over and over again just to find out that I > >made typo in variable name. > > And I've been waiting for an answer myself,

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 v

Re: [PHP] Re: "use strict" or similar in PHP?

2009-03-01 Thread tedd
At 9:21 AM -0500 3/1/09, Robert Cummings wrote: On Sun, 2009-03-01 at 08:36 -0500, tedd wrote: The OP asked: >Is there in PHP something like "use strict" from perl? I find it pretty >annoying to need to run script over and over again just to find out that I >made typo in variable name. An

Re: [PHP] Re: "use strict" or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 09:48 -0500, tedd wrote: > At 9:21 AM -0500 3/1/09, Robert Cummings wrote: > >On Sun, 2009-03-01 at 08:36 -0500, tedd wrote: > >> The OP asked: > >> > >> >Is there in PHP something like "use strict" from perl? I find it pretty > >> >annoying to need to run script over and o

Re: [PHP] Re: "use strict" or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 09:57 -0500, Robert Cummings wrote: > On Sun, 2009-03-01 at 09:48 -0500, tedd wrote: > > At 9:21 AM -0500 3/1/09, Robert Cummings wrote: > > >On Sun, 2009-03-01 at 08:36 -0500, tedd wrote: > > >> The OP asked: > > >> > > >> >Is there in PHP something like "use strict" from p

RE: [PHP] file locking...

2009-03-01 Thread bruce
hi rob... here's the issue in more detail.. i have multiple processes that are generated/created and run in a simultaneous manner. each process wants to get XX number of files from the same batch of files... assume i have a batch of 50,000 files. my issue is how do i allow each of the processes t

RE: [PHP] file locking...

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 09:09 -0800, bruce wrote: > hi rob... > > here's the issue in more detail.. > > i have multiple processes that are generated/created and run in a > simultaneous manner. each process wants to get XX number of files from the > same batch of files... assume i have a batch of 50

RE: [PHP] file locking...

2009-03-01 Thread bruce
hi rob... what you have written is similar to my initial approach... my question, and the reason for posting this to a few different groups.. is to see if someone has pointers/thoughts for something much quicker... this is going to handle processing requests from client apps to a webservice.. the

RE: [PHP] file locking...

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 10:05 -0800, bruce wrote: > hi rob... > > what you have written is similar to my initial approach... my question, and > the reason for posting this to a few different groups.. is to see if someone > has pointers/thoughts for something much quicker... > > this is going to han

Re: [PHP] file locking...

2009-03-01 Thread Stuart
2009/3/1 Robert Cummings > On Sun, 2009-03-01 at 10:05 -0800, bruce wrote: > > hi rob... > > > > what you have written is similar to my initial approach... my question, > and > > the reason for posting this to a few different groups.. is to see if > someone > > has pointers/thoughts for something

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.zip&can=2&q= 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 wrote: > Also check this one out: google uses

[PHP] 500 Internal Server Error

2009-03-01 Thread VamVan
Hello All, What is the situation when we get internal server error 500 on PHP pages? >From Internet I got some info like, you get it when : 1) If friendly urls are not supported by apache.(mod_rewrite) 2) If max_execution_time max's out. and some more related to apache. I got a weird situation

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 wrote:

Re: [PHP] 500 Internal Server Error

2009-03-01 Thread 9el
--- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com -- On

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 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 look how you >> w

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 wrote: > gears will allow you to do that, more or less. i

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 to

[PHP] PHP-based forum software ideas

2009-03-01 Thread mike
I'm looking around and usually wikipedia has a complete list of everything... http://en.wikipedia.org/wiki/Comparison_of_Internet_forum_software_(PHP) Anything missing there? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Browser timeout

2009-03-01 Thread Ondrej Kulaty
40 seconds is not very long execution time for timeout, if you have some loop in the script, try to output a dot character, for example, on every iteration, with flush() immediately after echo (or whatever command you use for sending output). ""? "" pí¹e v diskusním pøíspìvku news:907