How to access the value from the page included without displaying the content in php
<p>Im using two pages first page s getting values from url and its displaying some content. I included first page in second page but the first page should not be displayed but i have to access the values in second page which is used in first page..
The coding for first page</p>

<pre><code>first.php
</code></pre>

<p>In utl the value is passed as first.php?Logid=7773&amp;shiftdate=2013-01-04&amp;shiftid=146&amp;pshift=1&amp;tsid=1&amp;dctype=timebased </p>

<pre><code>&lt;?php 
$Logid=$_GET['Logid'];
$ShiftDate=$_GET['shiftdate'];
$ShiftID=$_GET['shiftid'];
$PShift=$_GET['pshift'];
$TsID=$_GET['tsid'];
$DcType=$_GET['dctype'];

// below this some process is carried out


sec.php

&lt;?php
ob_start();
include('first.php');
ob_end_clean();

echo $Logid;
echo $ShiftDate;
echo $ShiftID;
echo $PShift;
echo $TsID;
echo $DcType;
?&gt;
</code></pre>

<p>The value is not displayed in second page..
Say how i can access the values in second page .
Pls help me
Thank u !!!</p>
