[Techtalk] All PHP Scripts Running Twice?

Kai MacTane kmactane at GothPunk.com
Mon Aug 4 16:09:37 EST 2003


This isn't exactly a Linux question, but people here are really 
knowledgeable, and php.net seems to be having "issues".

I'm running PHP 4.2.2 as a mod_php module on Apache 1.3.26 (on Slackware 
Linux 8.0). Every PHP script seems to be getting run twice. If it's called 
by a POST request from a form, I see first the POST request, then a GET 
request, in my logs. If it's a form GET, or if it's just a standard 
request, then I see two successive GETs.

Does anyone know why this is happening? Or how to stop it? It's causing me 
some problems in developing a database system -- I really don't want all my 
queries running twice; data could get munged that way.

Thanks in advance.

                                                 --Kai MacTane
----------------------------------------------------------------------
"Deadly angels for reality and passion..."
                                                 --Shriekback,
                                                  "Gunning for the
                                                   Buddha"



More information about the Techtalk mailing list