Hello people,
I’m the biggest noob around here and would really aprisiate some help if possible.
I have created a website that look like this:
http://www.planet-zix.se/video/
and I managed to list the files in the upload folder.
with:
<?php
$dir = dir("upload");
while (($file = $dir->read()) !== false)
{
echo "Video name: " . $file . " <br /> ";
}
$dir->close();
?>
Now I want them to be a links to a site that looks like this:
http://www.planet-zix.se/video/video.htm
so every file in the list automaticly opens a site and shows the right video.
if you cant help then please give me a hint or a dumb answer and I might figure it out myself hehe