Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/09/2005, 03:41
AnDrEa MM
 
Fecha de Ingreso: mayo-2005
Mensajes: 510
Antigüedad: 18 años, 11 meses
Puntos: 1
Pregunta Problema del navegador? No me carga una pagina...

No sé muy bien de donde viene el error, supongo q es de codigo php...
Estoy creando una aplicacion para tratar videos .mpeg. La pagina inicial de la aplicacion es una tabla con 3 espacios. En el de la izquierda el usuario debe introducir el nombre de un fichero .xml, en el de la derecha debe escoger el camino de directorios de un video .mpeg y en el inferior se encuentra un boton de "aceptar", el cual redirige la aplicacion a otra pagina posterior...
La pagina inicial, en la q se encuentra la tabla es la siguiente:

Código PHP:
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>Form to choose file XML and upload your video</title>
    </head>
    <body>
        <form name="formulaire_envoi" enctype="multipart/form-data" method="post" action="./submit.php">
            <table width=100% height=100% border=0>
                <tr height=65%>
                    <td width="50%" align="center" valign="middle"> <? include ("./chooseXMLfile.htm"); ?> </td>
                    <td width="50%" align="center" valign="middle"> <? include ("./choixVideo.php"); ?> </td>
                </tr>
                <tr height="35%">
                    <td colspan="2" align="center" valign="top">
                        <input type="submit" name="bouton_submit" value="Envoyer les fichiers">
                    </td>
                </tr>
            </table>
        </form>
    </body>
</html>
De esta forma, si pulso el boton de submit no me hace nada. Esto ocurre con explorer, ya q con netscape si se obtenia el resultado esperado, es decir, se cargaba la pagina "submit.php". En cambio, si quito los includes, esto es:
Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>Form to choose file XML and upload your video</title>
    </head>
    <body>
        <form name="formulaire_envoi" enctype="multipart/form-data" method="post" action="./submit.php">
            <table width=100% height=100% border=0>
                <tr height=65%>
                    <td width="50%" align="center" valign="middle"> <? //include ("./chooseXMLfile.htm"); ?> </td>
                    <td width="50%" align="center" valign="middle"> <? //include ("./choixVideo.php"); ?> </td>
                </tr>
                <tr height="35%">
                    <td colspan="2" align="center" valign="top">
                        <input type="submit" name="bouton_submit" value="Envoyer les fichiers">
                    </td>
                </tr>
            </table>
        </form>
    </body>
</html>
La pagina "submit.php" se carga, con los correspondientes errores (como q no se ha introducido el nombre del fichero ni el camino del video) pero se carga.

A q puede ser debido??