Code Library
Home Submit Free Hosting Link To Us Contacts

PHP Checkbox Mark and detection

PHP Checkbox Mark and detection PHP PHP Checkbox Mark and detection Download (.zip)



<?
$dir = ".";
$s = "";

echo "<form name=data action=?delete method=post>";

$handle = opendir($dir);
while($file = readdir($handle)) {
  if ($file != "." && $file != "..") {
    $s = $s+1;
    echo "<INPUT TYPE=CHECKBOX NAME=file$s VALUE='$file'>$file<BR>";
  }
}
echo "<INPUT type=submit class=button value='Submit'><P>";

if (isset($_GET['delete'])) foreach ($_POST as $shit) echo "$shit<BR>";
?>






Tatet