I will bet you money that there are far better places to optimize your
application than moving a single SQL insert to after the final output.
On Sunday 21 October 2007, Ravi wrote:
> Maybe you have a point. I will do performance testing and then decide if
> I should try to optimize to that point.
On 10/21/07, Ravi <[EMAIL PROTECTED]> wrote:
> Maybe you have a point. I will do performance testing and then decide if
> I should try to optimize to that point.
>
> Yes the logging is just one simple insert into the database.
Does your database support some form of INSERT DELAYED ?
Like MySQL do
On Sunday 21 October 2007, Richard Heyes wrote:
> Ravi wrote:
> > Richard, unfortunately I cannot end the script. I need something like
> > this:
> >
> > > header('Location: http://www.yahoo.com');
> > // somehow let the browser move to yahoo.com
> > // now update the database to store
Ravi wrote:
Richard, unfortunately I cannot end the script. I need something like this:
http://www.yahoo.com');
// somehow let the browser move to yahoo.com
// now update the database to store some information about user
exit;
?>
In that case you might want to look at register_shu
Richard, unfortunately I cannot end the script. I need something like this:
http://www.yahoo.com');
// somehow let the browser move to yahoo.com
// now update the database to store some information about user
exit;
?>
Richard Heyes wrote:
Ravi wrote:
That was very very helpful.
Ravi wrote:
That was very very helpful. Thanks a ton!
One more question. For every request, I am sending a redirect back to
the user and the browser takes the user to another url. The problem is
that the browser is not redirecting until the script finishes. Even if I
do flush(), the browser
6 matches
Mail list logo