site is called twice?
<p>My Problem is, that my php site is called twice.
But i don't know why. in my access-log i also get two entries if i reload:</p>

<pre><code>127.0.0.12 - - [13/Oct/2010:20:41:56 +0200] "POST /index.php HTTP/1.1" 200 1493 "http://mkw-testing/index.php" "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.36 Safari/534.7"
127.0.0.12 - - [13/Oct/2010:20:41:57 +0200] "GET /favicon.ico HTTP/1.1" 200 1498 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.36 Safari/534.7"
</code></pre>

<p>my error.log shows:</p>

<pre><code>[Wed Oct 13 21:08:35 2010] [debug] mod_deflate.c(615): [client 127.0.0.12] Zlib: Compressed 2766 to 1067 : URL /index.php
[Wed Oct 13 21:08:35 2010] [debug] mod_deflate.c(615): [client 127.0.0.12] Zlib: Compressed 2743 to 1038 : URL /index.php/favicon.ico
</code></pre>

<p>what can i do? i don't have any redirects, reloads aso. in javascript code.</p>

<p>thx4help</p>

<p>might there be a problem with cookies?</p>

<p>shell i use htaccess file to be get the site is called only one time?</p>

<p><strong>UPDATE</strong></p>

<p><strong>independend of the acces log is my site obviously called twice!!</strong> fact is, if i print out a index, which is incremented one point every call, the displayed site shows only odd numbers. so it makes a step of two instead of one. the increment function is NOT called twice in the code. and if i print the index to a textfile i get every number, not only the odd ones. .... i don't know what to do :-S, where to search, what to debug ....</p>

<p>here my html:</p>

<pre><code>&lt;html&gt; 
    &lt;head&gt; 
        &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt; 
        &lt;link rel="icon" href="favicon.ico" type="image/x-icon"&gt; 
        &lt;title&gt;Testsuite&lt;/title&gt; 

        &lt;style type="text/css"&gt; 
            ...

        &lt;/style&gt; 

    &lt;/head&gt; 
    &lt;body&gt; 
&lt;!--script type="text/javascript"&gt;alert("go home!");&lt;/script--&gt; 
&lt;p style="font-size: smaller; color: #555"&gt; 
Testcases ID: 75&lt;br&gt; 
Verbleibend: 94.5 % noch zu checken...&lt;br&gt; 
&lt;/p&gt; 

&lt;div id="action"&gt; 
&lt;h2&gt;Suchprofile&lt;/h2&gt; 
&lt;p&gt; 
    Screen number: B01 (4)&lt;br&gt; 
    Pfad: /search/type&lt;br&gt;&lt;br&gt; 
&lt;/p&gt; 
&lt;/div&gt; 

&lt;h2&gt;&lt;/h2&gt; 

&lt;form name="testsuite" action="/index.php" method="POST"&gt; 
    &lt;p style="width: 650px;"&gt; 
        &lt;span style="color: gray"&gt;Ausgangassituation:&lt;/span&gt; Der User befindet sich auf der /search/type Seite. &lt;br&gt; 
        &lt;span style="color: gray"&gt;Eingabe:&lt;/span&gt; Der User klickt auf ?Dieses Suchprofil speichern?.         &lt;br&gt;&lt;br&gt; 
        Reaktionen
        &lt;input type="hidden" name="id_testcase" value="75" /&gt; 
    &lt;/p&gt; 
    &lt;table width="650" border="1" cellspacing="0" cellpadding="0" &gt; 
            &lt;tr&gt; 
            &lt;td&gt;Es &amp;ouml;ffnet sich ein Eingabefeld &lt;/td&gt; 
            &lt;td class="checkbox"&gt;&lt;input type="checkbox" name="requirements[]" value="103" /&gt;&lt;/td&gt; 
        &lt;/tr&gt; 
            &lt;tr&gt; 
            &lt;td&gt;Rechts neben dem Eingabefeld wird ein Plus-Symbol angezeigt.&lt;/td&gt; 
            &lt;td class="checkbox"&gt;&lt;input type="checkbox" name="requirements[]" value="104" /&gt;&lt;/td&gt; 
        &lt;/tr&gt; 
        &lt;/table&gt; 

    &lt;br&gt; 
    &lt;div style="border: 1px dashed #ccc; width: 650px; background-color: #ddd"&gt; 
    &lt;input type="radio" name="action" value="skip" id="skip" /&gt;&lt;label for="skip"&gt;Ignorieren&lt;/label&gt;&lt;br&gt; 
    &lt;input type="radio" name="action" value="store" id="store" checked/&gt;&lt;label for="store"&gt;Speichern&lt;/label&gt;&lt;br&gt; 
    &lt;br&gt; 
    &lt;center&gt; 
        &lt;input type="submit" id="submitter" value="weiter" /&gt; 
    &lt;/center&gt; 
    &lt;/div&gt; 
&lt;/form&gt; 




    &lt;/body&gt; 
&lt;/html&gt;
</code></pre>
