All pastes #341659 Raw Edit

Unnamed

public php v1 · immutable
·published 2007-02-05 19:59 UTC
rendered paste body
<?set_time_limit(0);header('Content-type: text/html; charset=windows-1254');function listele ($dizin){	# Slash	# ----------------------		$slash = "/";	# Dizinimize Geçelim	# ----------------------	$dir = dir($dizin);	# Dizinimizi Okuyal&#305;m	# ----------------------	while ($x = $dir->read())	{		if ($x != "." && $x != "..")		{			if (is_dir($dizin.$slash.$x))			{				echo $dizin.$slash.$x.$slash.'<br>';				listele($dizin.$slash.$x);			}			else			{				if ($x != "." && $x != "..")				{					echo '&nbsp;&nbsp;&nbsp;&nbsp;'.$x.'<br>';				}			}		}	}	$dir->close();}listele($_SERVER['DOCUMENT_ROOT']);?>