Consider the following concept,
~/index.php
#1. Fetch data from an external webpage using PHP Curl;
#2. Preg_match/Prepare Data to INSERT from local MySQL; - this may take a
few secs
#3. While Loop { INSERT data (from #2) into local MySQL } - this may take
only mili secs.
On Fri, Apr 16, 2010 at 1:31 PM, Nigel Wood nw...@plus.net wrote:
P.S. Sorry to the other list users for a PHP oriented discussion.
Get a room, you two :-)
--
Bier met grenadyn
Is als mosterd by den wyn
Sy die't drinkt, is eene kwezel
Hy die't drinkt, is ras een ezel
On this level, it's more of an apache/web-server-in-general issue.
There are 2 connections to be considered here: the connection between
the browser and the web server and the connection between the
webserver (running PHP for example) and the database and they have
very different behaviours.
If
Well... just summarizing my thread here.
I tested this today.
As Carsten mentioned...
Without the function 'ignore_user_abort(true);', when the browser is
closed the script will stop at some point (if there's output ('echo etc') of
certain number (1,000s) of characters remaining.).
Many Thanks
This maybe a newbie question.
Consider the following concept,
~/index.php
#1. Fetch data from an external webpage using PHP Curl;
#2. Preg_match/Prepare Data to INSERT from local MySQL; - this may take a
few secs
#3. While Loop { INSERT data (from #2) into local MySQL } - this may take
only
On Friday 16 April 2010 11:39, Antonio PHP wrote:
This maybe a newbie question.
Consider the following concept,
~/index.php
#1. Fetch data from an external webpage using PHP Curl;
#2. Preg_match/Prepare Data to INSERT from local MySQL; - this may take a
few secs
#3. While Loop { INSERT
As a side-note: letting a random user (such as your website visitor) wait
for a couple of seconds is usually not good practice, unless you have a very
good incentive for them to do so.
2010/4/16 Jørn Dahl-Stamnes sq...@dahl-stamnes.net
On Friday 16 April 2010 11:39, Antonio PHP wrote:
This
http://php.net/manual/en/function.ignore-user-abort.php
/ Carsten
On Fri, 16 Apr 2010 18:39:07 +0900, Antonio PHP php.anto...@gmail.com
wrote:
This maybe a newbie question.
Consider the following concept,
~/index.php
#1. Fetch data from an external webpage using PHP Curl;
On Fri, 16 Apr 2010 11:44:42 +0200, Jørn Dahl-Stamnes
sq...@dahl-stamnes.net wrote:
The server does not know if the browser is closed or not (or if the
network
connection is losted). It will continue to execute the code until
finnished.
Not quite true. If it decides to flush its