Thanks for your suggestions.
But, both did not worked.
Louie
On 10/19/07, Philip Thompson <[EMAIL PROTECTED]> wrote:
>
> On 10/19/07, Robert Degen <[EMAIL PROTECTED]> wrote:
> >
> > Why don't you try a
> >
> > passthru('net apache restart')
> >
> > perhabs another parameter order, but I think
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
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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Heyes wrote:
[EMAIL PROTECTED] wrote:
Try this never gives me a problem. I use it to keep proxy servers from
caching.
But I want the page to be cached...
Maybe I'm being dense, but why not set it to what you want it to be?
Clearing it is leaving the decision up to the browser which
Have you tried setting the value to FALSE, NULL, or something else?
Yes, nada I'm afraid.
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
--
PHP General Mailing List (http://www.php.net/
[EMAIL PROTECTED] wrote:
Try this never gives me a problem. I use it to keep proxy servers from
caching.
But I want the page to be cached...
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
Let me reiterate, I want this page to get cached, but not based on an
Expires: header. Rather a Last-Modified header.
Have you tried setting the value to FALSE, NULL, or something else? I
recall having read something along those lines. I'll see if I can find
it again, meanwhile you could expe
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
Try this never gives me a problem. I use it to keep proxy servers from
caching.
Yes but I want to unset an Expires: header and not give a any value.
1. PHP (I believe) is setting an Expires: header.
2. The Expires: header is causing the page to be cached too long,
Longer than the Last-Modi
Try this never gives me a problem. I use it to keep proxy servers from
caching.
Richard L. Buskirk
-Original Message-
From: Richard Heyes [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 21, 2007 7:55 AM
To: PHP General List
Subject: [PHP] Unsetting a header
Does anyone know of a way
On Sat, 2007-10-20 at 18:45 -0700, Instruct ICC wrote:
> > > >
> > > >One idea that has always been REALLY popular around here... stuff your
> > > >image in a database. *MUHAWHAWHAWHAWHAW* *Ducks from the flying rocks*.
> > > >
> > > >Cheers,
> > > >Rob.
> > > >--
> > >
> > > Rob:
> > >
> > > Tha
Does anyone know of a way to unset a header? I have an Expires: header
that I believe Apache is setting, and I don't want it. Thanks.
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
--
PHP Ge
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
Possibly... I've never read about MySQL views, so I can't refute it :)
The problem at hand is solved, but thanks. Might have to give views a
glance in TFM.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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.
damn hotmail blows
But if the database supports it, what about using a view that is made up of the
two tables?
Could that be a possibility?
Bastien
> From: [EMAIL PROTECTED]> To:
php-general@lists.php.net> Date: Sat, 20 Oct 2007 21:39:03 -0400
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
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 waits til scr
Hi Nathan,
Thanks for taking the time to reply.
Yes, this is a shared server. Each (UNIX) user's home directory is thier
domain name i.e. /home/usersdomainnamehere.com and thier http root is www
i.e. /home/usersdomainnamehere.com/www
I am running apache 2. and mod_php. Most servers are running
Ravi wrote:
Guys, I am fairly new to PHP. Here are a few questions, if anybody can
answer it will help me get started. Thanks
I am trying to build a website and I would like to do the following in
my scripts
1. I want to return response to the browser and AFTERWARDS make a log
entry in to
21 matches
Mail list logo