Re: [PHP] Stop PHP execution on client connection closed

2011-09-15 Thread Marco Lanzotti
Il 14/09/2011 19:34, Alex Nikitin ha scritto: Perhaps if I, or we can understand your application a little better, we could suggest better solutions, just remember that you are not the first person to have to solve these similar issues. I can help you if you want, glimpse over your database

Re: [PHP] Stop PHP execution on client connection closed

2011-09-14 Thread Marco Lanzotti
Il 13/09/2011 20:58, Alex Nikitin ha scritto: Correction on Marco's post. You can absolutely stop a mysql query I know I can stop a query, but I don't know how to realize HTTP client has closed connection during query execution. My query count how many records match selected fields in a 50M

Re: [PHP] Stop PHP execution on client connection closed

2011-09-14 Thread Jim Lucas
On 9/14/2011 1:04 AM, Marco Lanzotti wrote: Il 13/09/2011 20:58, Alex Nikitin ha scritto: Correction on Marco's post. You can absolutely stop a mysql query I know I can stop a query, but I don't know how to realize HTTP client has closed connection during query execution. My query count

Re: [PHP] Stop PHP execution on client connection closed

2011-09-14 Thread Marco Lanzotti
Il 14/09/2011 17:35, Jim Lucas ha scritto: SELECT ... FROM ... WHERE ... AND (1=1 OR 'unique value'); add 'unique value' to your session data and then, when the person changes the selected fields and starts to execute another query, first, you could search to see if an SQL statement is

Re: [PHP] Stop PHP execution on client connection closed

2011-09-14 Thread Alex Nikitin
On Wed, Sep 14, 2011 at 4:04 AM, Marco Lanzotti ma...@lanzotti.com wrote: Il 13/09/2011 20:58, Alex Nikitin ha scritto: Correction on Marco's post. You can absolutely stop a mysql query I know I can stop a query, but I don't know how to realize HTTP client has closed connection during query

Re: [PHP] Re: Stop PHP execution on client connection closed

2011-09-13 Thread Marco Lanzotti
Il 12/09/2011 21:32, Al ha scritto: See http://us2.php.net/manual/en/function.connection-aborted.php As I wrote, PHP doesn't detect that client aborted connection until it send some data. During query the script doesn't send any data to client, so it doesn't detect client aborted connenction. I

Re: [PHP] Re: Stop PHP execution on client connection closed

2011-09-13 Thread vikash . iitb
On 13 September 2011 13:05, Marco Lanzotti ma...@lanzotti.com wrote: Il 12/09/2011 21:32, Al ha scritto: See http://us2.php.net/manual/en/function.connection-aborted.php As I wrote, PHP doesn't detect that client aborted connection until it send some data. During query the script doesn't

Re: [PHP] Re: Stop PHP execution on client connection closed

2011-09-13 Thread Marco Lanzotti
Il 13/09/2011 09:39, vikash.i...@gmail.com ha scritto: You can use ob_start() to start output buffering and ob_end_flush() to send some data in the middle of script - that way your php script will send some data to the client earlier than finishing execution and hence detect the aborted

Re: [PHP] Re: Stop PHP execution on client connection closed

2011-09-13 Thread Eric Butera
On Tue, Sep 13, 2011 at 4:01 AM, Marco Lanzotti ma...@lanzotti.com wrote: Il 13/09/2011 09:39, vikash.i...@gmail.com ha scritto: You can use ob_start() to start output buffering and ob_end_flush() to send some data in the middle of script  - that way  your php script will send some data to

RE: [PHP] Re: Stop PHP execution on client connection closed

2011-09-13 Thread yeer tai
You can use ajax. Date: Tue, 13 Sep 2011 09:22:54 -0400 From: eric.but...@gmail.com To: ma...@lanzotti.com CC: php-general@lists.php.net Subject: Re: [PHP] Re: Stop PHP execution on client connection closed On Tue, Sep 13, 2011 at 4:01 AM, Marco Lanzotti ma...@lanzotti.com wrote: Il

[PHP] Re: Stop PHP execution on client connection closed

2011-09-13 Thread Ian
On 13/09/2011 09:01, Marco Lanzotti wrote: Il 13/09/2011 09:39, vikash.i...@gmail.com ha scritto: You can use ob_start() to start output buffering and ob_end_flush() to send some data in the middle of script - that way your php script will send some data to the client earlier than finishing

Re: [PHP] Re: Stop PHP execution on client connection closed

2011-09-13 Thread Marco Lanzotti
Il 13/09/2011 15:22, Eric Butera ha scritto: Flush all buffers you have. Sometimes you have to do nasty hacks like send a certain number of characters. I'm looking for a way to send some characters during query execution. You might have better luck if you search for 'comet' or 'long polling.'

Re: [PHP] Stop PHP execution on client connection closed

2011-09-13 Thread Jim Lucas
On 9/12/2011 7:40 AM, Marco Lanzotti wrote: Hi all, I'm new in the list and I already have a question for you. I'm running an heavy query on my DB in a PHP script called by AJAX. Because client often abort AJAX connection to ask a new query, I need to stop query because DB will be too loaded.

Re: [PHP] Stop PHP execution on client connection closed

2011-09-13 Thread Alex Nikitin
On Tue, Sep 13, 2011 at 11:44 AM, Jim Lucas li...@cmsws.com wrote: On 9/12/2011 7:40 AM, Marco Lanzotti wrote: Hi all, I'm new in the list and I already have a question for you. I'm running an heavy query on my DB in a PHP script called by AJAX. Because client often abort AJAX connection

Re: [PHP] Stop PHP execution on client connection closed

2011-09-13 Thread Jim Lucas
On 9/13/2011 11:58 AM, Alex Nikitin wrote: On Tue, Sep 13, 2011 at 11:44 AM, Jim Lucas li...@cmsws.com wrote: On 9/12/2011 7:40 AM, Marco Lanzotti wrote: Hi all, I'm new in the list and I already have a question for you. I'm running an heavy query on my DB in a PHP script called by AJAX.

Re: [PHP] Stop PHP execution on client connection closed

2011-09-13 Thread Alex Nikitin
Absolutely, it was only a minor correction of a sub-point. -- The trouble with programmers is that you can never tell what a programmer is doing until it’s too late. ~Seymour Cray On Tue, Sep 13, 2011 at 3:20 PM, Jim Lucas li...@cmsws.com wrote: On 9/13/2011 11:58 AM, Alex Nikitin wrote:

[PHP] Stop PHP execution on client connection closed

2011-09-12 Thread Marco Lanzotti
Hi all, I'm new in the list and I already have a question for you. I'm running an heavy query on my DB in a PHP script called by AJAX. Because client often abort AJAX connection to ask a new query, I need to stop query because DB will be too loaded. When AJAX connection is aborted, PHP script

[PHP] Re: Stop PHP execution on client connection closed

2011-09-12 Thread Al
See http://us2.php.net/manual/en/function.connection-aborted.php On 9/12/2011 10:40 AM, Marco Lanzotti wrote: Hi all, I'm new in the list and I already have a question for you. I'm running an heavy query on my DB in a PHP script called by AJAX. Because client often abort AJAX connection to ask

Re: [PHP] Execution order of PHP

2010-03-11 Thread Auke van Slooten
Jochem Maas wrote: Op 3/10/10 1:29 PM, Auke van Slooten schreef: Hi, In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall( $client-methodOne(), $client-methodTwo() ); but who cares. the code is full of magic, which

[PHP] Execution order of PHP

2010-03-10 Thread Auke van Slooten
Hi, In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall( $client-methodOne(), $client-methodTwo() ); Currently PHP always resolves $client-system (and executes the __get on $client) before resolving the arguments to

Re: [PHP] Execution order of PHP

2010-03-10 Thread Bruno Fajardo
2010/3/10 Auke van Slooten a...@muze.nl Hi, In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall(  $client-methodOne(),  $client-methodTwo() ); Currently PHP always resolves $client-system (and executes the __get on

RE: [PHP] Execution order of PHP

2010-03-10 Thread Bob McConnell
From: Auke van Slooten In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall( $client-methodOne(), $client-methodTwo() ); Currently PHP always resolves $client-system (and executes the __get on $client)

Re: [PHP] Execution order of PHP

2010-03-10 Thread Auke van Slooten
Bruno Fajardo wrote: 2010/3/10 Auke van Slooten a...@muze.nl Hi, In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall( $client-methodOne(), $client-methodTwo() ); Can't you call the methods $client-methodOne() and

Re: [PHP] Execution order of PHP

2010-03-10 Thread Sándor Tamás
2010.03.10. 14:41 keltezéssel, Bob McConnell írta: From: Auke van Slooten In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall( $client-methodOne(), $client-methodTwo() ); Currently PHP always

Re: [PHP] Execution order of PHP

2010-03-10 Thread Ashley Sheridan
On Wed, 2010-03-10 at 15:20 +0100, Sándor Tamás wrote: 2010.03.10. 14:41 keltezéssel, Bob McConnell írta: From: Auke van Slooten In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall(

Re: [PHP] Execution order of PHP

2010-03-10 Thread Auke van Slooten
Bob McConnell wrote: From: Auke van Slooten In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall( $client-methodOne(), $client-methodTwo() ); Think about it from the parser's point of view. It has to evaluate

RE: [PHP] Execution order of PHP

2010-03-10 Thread Bob McConnell
From: Sándor Tamás 2010.03.10. 14:41 keltezéssel, Bob McConnell írta: From: Auke van Slooten In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall( $client-methodOne(), $client-methodTwo() );

Re: [PHP] Execution order of PHP

2010-03-10 Thread Robert Cummings
Auke van Slooten wrote: Bob McConnell wrote: From: Auke van Slooten In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall( $client-methodOne(), $client-methodTwo() ); Think about it from the parser's point of

Re: [PHP] Execution order of PHP

2010-03-10 Thread Bruno Fajardo
2010/3/10 Auke van Slooten a...@muze.nl: Bruno Fajardo wrote: 2010/3/10 Auke van Slooten a...@muze.nl Hi, In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall(  $client-methodOne(),  $client-methodTwo() ); Can't

Re: [PHP] Execution order of PHP

2010-03-10 Thread Andrew Ballard
On Wed, Mar 10, 2010 at 9:54 AM, Bruno Fajardo bsfaja...@gmail.com wrote: [snip] 2010/3/10 Auke van Slooten a...@muze.nl: This is not what I meant. I should perhaps mention that it's an xml-rpc client and the method calls are remote method calls. The multiCall method gathers multiple method

Re: [PHP] Execution order of PHP

2010-03-10 Thread Bruno Fajardo
2010/3/10 Andrew Ballard aball...@gmail.com: On Wed, Mar 10, 2010 at 9:54 AM, Bruno Fajardo bsfaja...@gmail.com wrote: [snip] 2010/3/10 Auke van Slooten a...@muze.nl: This is not what I meant. I should perhaps mention that it's an xml-rpc client and the method calls are remote method calls.

Re: [PHP] Execution order of PHP

2010-03-10 Thread Auke van Slooten
Andrew Ballard wrote: I'm not sure you would want to assign null to $client-system. After all, __set() might not be defined. I agree with Rob here. If order is really crucial, then call the statements in the correct order: ?php /** * causes $client to call __get() in order to resolve *

Re: [PHP] Execution order of PHP

2010-03-10 Thread Jochem Maas
Op 3/10/10 1:29 PM, Auke van Slooten schreef: Hi, In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall( $client-methodOne(), $client-methodTwo() ); Currently PHP always resolves $client-system (and executes the

Re: [PHP] Execution order of PHP

2010-03-10 Thread Rene Veerman
You may not care about this, but from a readability perspective, i think relying on $client-system being as special as you describe, is not very readable. If i'd had to read code that does what you describe, i'd be much happier to see a datastructure be passed as was suggested elsewhere in this

Re: [PHP] Asynchronous PHP Execution

2008-07-06 Thread Waynn Lue
On Sat, Jul 5, 2008 at 12:28 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Sat, Jul 5, 2008 at 6:01 AM, Waynn Lue [EMAIL PROTECTED] wrote: I have a system where a user clicks on a button which causes rows to be inserted in to the database. I'd also like to run some lengthier

Re: [PHP] Asynchronous PHP Execution

2008-07-06 Thread Richard Heyes
Waynn Lue wrote: and exec/shell (but that doesn't seem to be asynchronous), but neither seems optimal. It can be if you redirect the output streams and put an ampersand after it: ?php exec('sleep 5 /dev/null 2/dev/null '); echo 'Script ended'; ? This tiny sample should end

Re: [PHP] Asynchronous PHP Execution

2008-07-06 Thread Waynn Lue
and exec/shell (but that doesn't seem to be asynchronous), but neither seems optimal. It can be if you redirect the output streams and put an ampersand after it: ?php exec('sleep 5 /dev/null 2/dev/null '); echo 'Script ended'; ? This tiny sample should end immediately, and

[PHP] Asynchronous PHP Execution

2008-07-05 Thread Waynn Lue
I have a system where a user clicks on a button which causes rows to be inserted in to the database. I'd also like to run some lengthier post-processing on those rows, but don't want to put it in the critical path of the rows being inserted and returning to the user. What's the best way to either

Re: [PHP] Asynchronous PHP Execution

2008-07-05 Thread Richard Heyes
and exec/shell (but that doesn't seem to be asynchronous), but neither seems optimal. It can be if you redirect the output streams and put an ampersand after it: ?php exec('sleep 5 /dev/null 2/dev/null '); echo 'Script ended'; ? This tiny sample should end immediately, and the

Re: [PHP] Asynchronous PHP Execution

2008-07-05 Thread Shawn McKenzie
Richard Heyes wrote: and exec/shell (but that doesn't seem to be asynchronous), but neither seems optimal. It can be if you redirect the output streams and put an ampersand after it: ?php exec('sleep 5 /dev/null 2/dev/null '); echo 'Script ended'; ? This tiny sample should end

Re: [PHP] Asynchronous PHP Execution

2008-07-05 Thread Richard Heyes
Also: exec('sleep 5 /dev/null '); Maybe? Two ampersands you mean? Why - what does it do? You're also not redirecting STDERR. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Asynchronous PHP Execution

2008-07-05 Thread Shawn McKenzie
Richard Heyes wrote: Also: exec('sleep 5 /dev/null '); Maybe? Two ampersands you mean? Why - what does it do? You're also not redirecting STDERR. My bad. I was trying to shorten your command. redirects stdout and stderr, unfortunately in c shell though. -Shawn -- PHP General

Re: [PHP] Asynchronous PHP Execution

2008-07-05 Thread Shawn McKenzie
Richard Heyes wrote: Also: exec('sleep 5 /dev/null '); Maybe? Two ampersands you mean? Why - what does it do? You're also not redirecting STDERR. I can't always remember because I think some things that are in c shell but aren't available in bourne have been incorpoated into bash. So

Re: [PHP] Asynchronous PHP Execution

2008-07-05 Thread Daniel Brown
On Sat, Jul 5, 2008 at 6:01 AM, Waynn Lue [EMAIL PROTECTED] wrote: I have a system where a user clicks on a button which causes rows to be inserted in to the database. I'd also like to run some lengthier post-processing on those rows, but don't want to put it in the critical path of the rows

[PHP] Problem with php execution and variables

2008-06-13 Thread SenTnel
this message in context: http://www.nabble.com/Problem-with-php-execution-and-variables-tp17816172p17816172.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with php execution and variables

2008-06-13 Thread Shawn McKenzie
SenTnel wrote: Hello! Im new to programing and this is the situation I have with a first level basic php tutorial: One of the samples uses a simple order form that submits to this page and is supposed to return the values entered on that form. This is the code not working: ? echo pYour

Re: [PHP] Problem with php execution and variables

2008-06-13 Thread SenTnel
://www.nabble.com/Problem-with-php-execution-and-variables-tp17816172p17824587.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with php execution and variables

2008-06-13 Thread Shawn McKenzie
SenTnel wrote: Thank you Shawn! Just to make sure, the long way IS the correct way? Thanks again! Shawn McKenzie wrote: SenTnel wrote: Hello! Im new to programing and this is the situation I have with a first level basic php tutorial: One of the samples uses a simple order form that

Re: [PHP] Problem with php execution and variables

2008-06-13 Thread SenTnel
://www.php.net/unsub.php :handshake::handshake::handshake::handshake::rules: -- View this message in context: http://www.nabble.com/Problem-with-php-execution-and-variables-tp17816172p17825702.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List

[PHP] Execution time

2006-09-08 Thread André Medeiros
Hello everyone. This may seem as a silly question, but I went through the documentation and it wasn't explicit on this issue, at least for me. Let's say that I'm on an 128kb/s upload. I need to upload an 100mb file through a POST. PHP has, by default, 90 seconds execution limit time. So, the

[PHP] execution time of ';'

2005-07-30 Thread Andy Pieters
Hi all We develop our software with built-in debug handlers that are very talkative. Each class registers itself to a central debug handler. When a conditional define NODEBUG is set, that debughandler just does a return null but obviously it takes time to perform that call. We are thinking

Re: [PHP] execution time of ';'

2005-07-30 Thread Jochem Maas
Andy Pieters wrote: Hi all We develop our software with built-in debug handlers that are very talkative. Each class registers itself to a central debug handler. When a conditional define NODEBUG is set, that debughandler just does a return null but obviously it takes time to perform that

[PHP] Execution time?

2004-12-01 Thread Peter Lauri
Best groupmember, How do I find the execution time for a php-script on a webserver? ms? -- - Best Of Times /Peter Lauri -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Execution time?

2004-12-01 Thread Vail, Warren
PROTECTED] Sent: Wednesday, December 01, 2004 7:02 PM To: [EMAIL PROTECTED] Subject: [PHP] Execution time? Best groupmember, How do I find the execution time for a php-script on a webserver? ms? -- - Best Of Times /Peter Lauri -- PHP General Mailing List (http://www.php.net

[PHP] Logging PHP Execution time to a file?

2003-07-14 Thread Lasse Laursen
Hi all, We are debugging some web applications to try to determine where the problems with long execution time is. Is it possible to log the execution time of each script executed to a logfile? The PHP processes are run as FastCGI under Zeus. Regards -- Lasse Laursen VP, Hosting Technology

[PHP] Re: Logging PHP Execution time to a file?

2003-07-14 Thread \[cz\]Emo
I use this: function getmicrotime() { list($usec, $sec) = explode( ,microtime()); return ((float)$usec + (float)$sec*1000); } // Start script $time=getmicrotime(); ... ... ... // Script finished echo Page was generated in .sprintf(%01.7f,((getmicrotime()-$time)/1000)). seconds.; You

Re: [PHP] Logging PHP Execution time to a file?

2003-07-14 Thread Marek Kilimajer
I use this function: function echo_pt($add='') { static $pt = 0; if($pt==0) { $pt = miro_time(); return; } $time_start = explode(' ', $pt); $time_end = explode(' ', microtime()); $parse_time = number_format(($time_end[1] + $time_end[0] - ($time_start[1] +

Re: [PHP] Logging PHP Execution time to a file?

2003-07-14 Thread Jeff Harris
On Jul 14, 2003, Marek Kilimajer claimed that: |I use this function: |function echo_pt($add='') { | static $pt = 0; | if($pt==0) { | $pt = miro_time(); | return; | } | $time_start = explode(' ', $pt); | $time_end = explode(' ', microtime()); | $parse_time =

[PHP] Lynx/Apache PHP execution vs. PHP interpreter

2002-11-08 Thread Jason Young
I've got a CallerID program that I've found on Freshmeat.net (elcid, for those keeping track)... I've edited the reporting functions so that instead of throwing it up on the console like it normally does, it instead calls lynx with the -dump parameter to the PHP page, and that in turn puts the

RE: [PHP] Lynx/Apache PHP execution vs. PHP interpreter

2002-11-08 Thread John W. Holmes
Holmes... -Original Message- From: Jason Young [mailto:jason1;erols.com] Sent: Friday, November 08, 2002 1:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Lynx/Apache PHP execution vs. PHP interpreter I've got a CallerID program that I've found on Freshmeat.net (elcid, for those keeping

Re: [PHP] Lynx/Apache PHP execution vs. PHP interpreter

2002-11-08 Thread Chris Wesley
On Fri, 8 Nov 2002, Jason Young wrote: I've edited the reporting functions so that instead of throwing it up on the console like it normally does, it instead calls lynx with the -dump parameter to the PHP page, and that in turn puts the variables into a DB... (Basically I can access my full

RE: [PHP] Execution Time

2002-10-04 Thread Mark Olton
Edit your php.ini, change max_execution_time to something greater than 30. Mark -Original Message- From: Pong-TC [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 2:44 PM To: [EMAIL PROTECTED] Subject: [PHP] Execution Time Hello All I have a problem

[PHP] PHP Execution Timer

2002-09-19 Thread -=[ Julien Bonastre ]=-
I have seen it on many sites now and since I have been using PHP for so long and done a huge amount of coding with it I thought it would add a nice touch and it could be used for statistical purposes to assist me in database effeciency and so forth. The idea is a page execution timer.. or a

Re: [PHP] PHP Execution Timer

2002-09-19 Thread WEB MASTER
Easy, Put a code to the beginning of the page that takes the unix time stamp, and another one to the end. The difference is the execution time at the server side... -=[ Julien Bonastre ]=- wrote: I have seen it on many sites now and since I have been using PHP for so long and done a huge

Re: [PHP] PHP Execution Timer

2002-09-19 Thread Justin French
on 20/09/02 12:03 AM, WEB MASTER ([EMAIL PROTECTED]) wrote: Easy, Put a code to the beginning of the page that takes the unix time stamp, and another one to the end. The difference is the execution time at the server side... microtime workds better, because most pages execute in under a

Re: [PHP] PHP Execution Timer

2002-09-19 Thread Justin French
on 19/09/02 11:37 PM, -=[ Julien Bonastre ]=- ([EMAIL PROTECTED]) wrote: I just want to know what function or module covers this feature.. If it is at all possible.. Top of your script: ? $timerOn = 1; // set to 0 if you want to turn it off $timestart = getmicrotime(); ? Bottom: ?

Re: [PHP] PHP Execution Timer

2002-09-19 Thread Chris Shiflett
Here is a function I sometimes use to log that will show you the time that has passed since the last log entry. I find it very useful, so that you can test a section of code's execution time simply by surrounding it with calls to this function. Maybe it will be useful to you. Chris function

RE: [PHP] PHP Execution Timer

2002-09-19 Thread Beau Hartshorne
This function: function getmicrotime() { list($usec, $sec) = explode( ,microtime()); return ((float)$usec + (float)$sec); } is provided on this page: http://www.php.net/manual/en/function.microtime.php and is needed for the code below to work properly. Beau ? $timerOn = 1; //

[PHP] Re: Little php execution question.

2002-07-09 Thread Richard Lynch
Hello php-general, I finally finish my work on one of the projects. I got a question how PHP executes a script. Let's say i got a little script but it takes him a long time to work (don't blame me please) If a user stops loading page of will close the window. Will Script continue

[PHP] Little php execution question.

2002-07-08 Thread Latex Master
Hello php-general, I finally finish my work on one of the projects. I got a question how PHP executes a script. Let's say i got a little script but it takes him a long time to work (don't blame me please) If a user stops loading page of will close the window. Will Script continue

[PHP] php execution a server side program updated problem please help

2002-07-03 Thread Latex Master
Hello php-general, Hello php-general, Dear php list, I've got completely lost in program execution under php. I need to run a command grab it's output for the next processing, So I wrote a script: ? $output = shell_exec(uudeview -i /bla/bla.txt -p /bla/bla/); echo pre; echo $output; echo

[PHP] Execution

2002-01-17 Thread Breno Cardoso Perucchi
Somebody knows as doing an execution of a program in real time, in the moment what this being executed in the system? []s Breno Cardoso Perucchi [EMAIL PROTECTED] Consultor - Omega Tecnologia http://www.omegatec.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Execution

2002-01-17 Thread Breno Cardoso Perucchi
Somebody knows as doing an execution of a program in real time, in the moment what this being executed in the system? []s Breno Cardoso Perucchi [EMAIL PROTECTED] Consultor - Omega Tecnologia http://www.omegatec.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] execution time

2001-07-27 Thread Pétur Björn Thorsteinsson
I have a slight problem and was wondering if anyone could help. I have a php script that runs every 30 minutes. It takes the contents of a directory (which is constantly being updated) and dumps them into a mysql database. Recently this directory has become increasingly large and the php script

Re: [PHP] execution time

2001-07-27 Thread Plamen Slavov
:03 PM Subject: [PHP] execution time I have a slight problem and was wondering if anyone could help. I have a php script that runs every 30 minutes. It takes the contents of a directory (which is constantly being updated) and dumps them into a mysql database. Recently this directory has

Re: [PHP] execution time

2001-07-27 Thread Wagner Tomy
execution a call such as set_time_limit(20) is made, the script will run for a total of 45 seconds before timing out. Wagner Tomy Editus S.A. - Original Message - From: Pétur Björn Thorsteinsson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 27, 2001 2:03 PM Subject: [PHP

[PHP] PHP Execution Functions

2001-07-24 Thread billfarr
Hello all, I'm discovering the joys of PHP as supplied by RH on their 7.1 release. Actually, everything about it is SO much nicer than ASP or pure Perl. (Not to take anything away from either--PHP's just a LOT easier to get hold of!) I'm running PHP as an Apache module (default RedHat

Re: [PHP] PHP Execution Functions

2001-07-24 Thread Ben Bleything
check http://www.php.net/manual/en/features.safe-mode.php I suspect that the problem is that the files you are trying to run are not owned by the same user as the webserver user... that page should give you details on this. Good luck, Ben On Tue, 24 Jul 2001 [EMAIL PROTECTED] wrote: Hello

Re: [PHP] PHP Execution Functions

2001-07-24 Thread Rasmus Lerdorf
I'm discovering the joys of PHP as supplied by RH on their 7.1 release. Actually, everything about it is SO much nicer than ASP or pure Perl. (Not to take anything away from either--PHP's just a LOT easier to get hold of!) I'm running PHP as an Apache module (default RedHat installation)

[PHP] automatic php execution

2001-02-14 Thread Jeff
Is there any way to get a php script to automatically run, say every night at 2am? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

Re: [PHP] automatic php execution

2001-02-14 Thread Philip Olson
Read about CRON, here's a couple nice descriptions : http://www.faqts.com/knowledge_base/view.phtml/aid/1005/fid/436 http://schvin.net/writings/crontab.html faqts.com has a few php specific cron replies too which basically say "use wget or lynx to dump it" but it'll all make sense