Not able to GET parameters functioning in include_once
<p>when i call include once without any GET parameters it works but with setting GET parameters on    trackinglogs.php nothing happens please suggest me what do to..</p>

<p>my php code is: firstfile.php
    

<pre><code>include_once('trackinglogs.php?todo=setcookie');
?&gt;
</code></pre>

<p>my second file is trackinglogs.php</p>

<pre><code>&lt;?php
    $action=$_GET['todo'];
    switch($action)
{
    case "setcookie":
    echo "hi";die();
    break;

    default:
    echo "error"; die();
    break;
}

?&gt;
</code></pre>

<p>thanks for you precious time</p>
