if (getenv("TERM")=='linux')
{
putenv("UNIQUELL=1");
putenv("TERM='os'");
print getenv("TERM")."<br>";
}
$uni=getenv("UNIQUELL");
if ($uni==1)
{
print "this is first<br>";
putenv("UNIQUELL=2");
} elseif ($uni==2)
{
print "this is second<br>";
putenv("UNIQUELL=3");
}
elseif($uni==3)
{
print "this is third<br>";
putenv("UNIQUELL=1");
}
when I writes the following code first term is 'linux' next I am setting to 'os' them also the condition is going to be true. and
when I sets env from php again if I types in command line it is showing previous value only please help me.
adv thanks