Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/11/2015, 12:53
Avatar de Marcos315
Marcos315
 
Fecha de Ingreso: agosto-2015
Ubicación: BS AS
Mensajes: 21
Antigüedad: 8 años, 8 meses
Puntos: 2
Buscando dentro de los directorios sin Base de datos

Hola:
Estoy haciendo un sitio de futbol. Tengo los videos de los goles en formato .wav y los
guardo dentro de la carpeta Categorías, ej:Categorias/Camp_Primera_Division, Categorias/Camp_Segunda_Division, etc.

Tengo este buscador tiene 2 archivos:

buscar.php

Código HTML:
<div align="center">
<table width="1" height="642" border="1" align="center" cellpadding="5" cellspacing="0"   

bordercolorlight="#0C66E0" bordercolordark="#0C66E0" id="table7" style="border: 6px inset 

#0C66E0">
    <tr height="10%">
      <form name="busca" action="buscar.php" method="get">
        <td height="47" style="color:#FFF; font-family:Arial, Helvetica, sans-serif; 

font-size:13px; font-weight:bold;"><p align="center">
          <input style="CURSOR: text" size="91" name="termo" value="">
        </p></td>
        <td width="97"><p align="center">
          <input name="Enviar" type="submit" class="style5" value="Buscar" />
        </p></td>
      </form>
    </tr>
    <tr height="2%">
      <td colspan="2"><hr> </td>
    <tr height="88%">
      <td colspan="2"><iframe width='100%' height='100%' frameborder='0' 

src='resultado.php'></iframe></td>
    </tr>
  </table>
</div> 
resultado.php

Código HTML:
<h1 align="center">Usted no completo el cuadro de busqueda!</h1>
<br>
<h1 align="center"> Complete el cuadro y intente nuevamente.</h1> 

- Se puede hacer que busque los archivos .wav ej: boca_juniors.wav, river_plate.wav dentro del directorio Categorías?

- Estoy iniciando y no se utilizar base de datos.