web方式ftp(8) } ?> </select><br> <input type="submit" value="Enter Directory"> </form> </td> <?php } if (count($nlist_files)>0) { ?> <td align=left valign=top> <strong>Files</strong><br> <form action="ftp.php" method=post> <input type="hidden" name="function" value="get"> <input type="hidden" name="phpftp_user" value="<?php echo $phpftp_user; ?>"> <input type="hidden" name="phpftp_passwd" value="<?php echo $phpftp_passwd; ?>"> <input type="hidden" name="phpftp_dir" value="<?php echo $phpftp_dir; ?>"> <select name="select_file" size="10"> <?php for ($i=0; $i < count($nlist_files); $i++) { echo "<option value=\"" . $nlist_files[$i] . "\">" . $nlist_files[$i] ." ($nlist_filesize[$i] bytes)". "</option>\n"; } ?> </select><br> <input type="submit" value="Download File"> </form> </td></tr> <?php } } else {