<?php//to display files from a directoryforeach(glob("images/*") as $filename)
{
$name=explode("/",$filename);
echo "<a href='/$filename' target='fContent'>$name[1]</a><br>";
}
//to display files from the tutorials folder
foreach(glob("tutorials/*") as $filename)
{
$name=explode("/",$filename);
echo "<a href='/$filename '>$name[1]</a>";
}
?>
{
$name=explode("/",$filename);
echo "<a href='/$filename' target='fContent'>$name[1]</a><br>";
}
//to display files from the tutorials folder
foreach(glob("tutorials/*") as $filename)
{
$name=explode("/",$filename);
echo "<a href='/$filename '>$name[1]</a>";
}
?>
0 comments:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.