I have test this function in one domain and I can see the sessions contents for all domains. How can I prevent this?
PHP Code:
function f_ls(){
$command = "ls -1 /tmp/sess_*";
if ($proc = popen("($command)2>&1","r")) {
while (!feof($proc)) $contents .= fgets($proc, 1000);
}
pclose($proc);
return explode("\n",$contents);
}



LinkBack URL
About LinkBacks
Reply With Quote







