Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Dan From  >  Find  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example page
Class: Find
Search files on the server side
Author: By
Last change: Changed to plain text
Date: 2006-09-06 01:20
Size: 1,388 bytes
 

Contents

Class file image Download
<?
/*
* A part of the find class.
* This is the example page.
* By: Dan From AKA stoned_bush
* Mail: dan.from@gmail.com
*/
ob_start();
session_start();
include 
'find.class.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Language" content="en">
<title>PHP -> find</title>
<SCRIPT src="library.js" type=text/javascript></SCRIPT>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<table border="0" cellpadding="0" cellspacing="10">
    <tr>
        <td>
            Search in:
        </td>
        <td>
            File to find
        </td>
        <td>
            
        </td>
    </tr>
    <tr>
        <td>
            <select name="dir" id="dir">
            <option></option>
            <option value=".">.</option>
            <?
            $liste 
= new listAll('.');
            foreach (
$liste->ex() AS $steder){
                echo 
'<option value="'.$steder.'">'.$steder.'</option>';
            }
            
?>
            </select>
        </td>
        <td>
            <input type="text" name="filnavn" id="filnavn">
        </td>
        <td>
            <button id="fisk" onclick="makeXml();">ok</button>
        </td>
    </tr>
</table>


<div id="filhvor" style="width: 500px; height: 500px;">
<div id="typetop">Type</div><div id="nametop">Name</div><div id="pathtop">Path</div>
</div>
</body>
</html>
<?
ob_end_flush
();
?>