Click to See Complete Forum and Search --> : Rate a file


Gert-Jan
02-01-2005, 02:11 PM
I'm searching a script to rate a file,i made this script, to show the files in a folder, but now, i want (also in the table, on the right) that every file, has a function so you can rate it.

Here is the code


<?php
if ($handle = opendir('/home/wiz/public_html/gert-jan/torrent/')) {
echo "<table border=1>\n";
while (false !== ($file = readdir($handle))) {
if($file!="." && $file != ".."){echo "<tr><td>".$file."</td></tr>\n";}
}
closedir($handle);
}
echo "</table>"
?>

Gert-Jan
02-02-2005, 05:54 AM
nobody?

cyber1
02-02-2005, 07:10 AM
The problem may be that your explanation is vague.
Many times posts are passed over because not enough details to spend time posting a solution.

Can you post a url of something similar or give more details.

-Bill

Gert-Jan
02-02-2005, 12:16 PM
I want a script, so that you can vote on something, or give points, and that you can also see the average score of it