Foros del Web » Programando para Internet » PHP »

Porque no funciona!!!

Estas en el tema de Porque no funciona!!! en el foro de PHP en Foros del Web. Es un archivo .html que manda las variables por metodo get hacia un archivo llamado ani.php entonces, el ani.php debe mostrar un swf de la ...
  #1 (permalink)  
Antiguo 21/07/2009, 15:45
 
Fecha de Ingreso: diciembre-2008
Ubicación: Mi Casa =D
Mensajes: 292
Antigüedad: 15 años, 4 meses
Puntos: 5
Porque no funciona!!!

Es un archivo .html que manda las variables por metodo get hacia un archivo llamado ani.php
entonces, el ani.php debe mostrar un swf de la carpeta anis/ y el codigo esta asi:
EL HTML:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
title>Home Fipotoon</title>
<
style type="text/css">
<!--
body {
    
background-imageurl(imagenes/back2.jpg);
    
background-repeatrepeat-y;
}
.
style1 {font-size18px}
a:link {
    
color#FFFFFF;
}
a:visited {
    
color#FFFFFF;
}
a:hover {
    
color#FF0000;
}
a:active {
    
color#FF0000;
}
-->
</
style>
<
script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body>
  <table width="668" border="0">
    <tr>
      <td width="662" height="35" align="center" valign="top"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','453','height','28','src','swf/anipedorra','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#B6B6B6','movie','swf/anipedorra' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="453" height="28">
        <param name="movie" value="swf/anipedorra.swf" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#B6B6B6" />
        <embed src="swf/anipedorra.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="453" height="28" bgcolor="#B6B6B6"></embed>
      </object></noscript>
  <br />
  <a href="ani.php?swf=anis/santa.swf&titulo=Santa Dancing"><img src="http://img11.imageshack.us/img11/3999/santar.jpg" alt="Santa Dancing - Baila sexy no?" width="90" height="70" /></a></td>
    </tr>
</table>
</body>
</html> 
ANI.PHP
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_GET['titulo']; ?> - Fipotoon</title>
<style type="text/css">
<!--
body {
    background-image: url(imagenes/back2.jpg);
    background-repeat: repeat-y;
}
.style1 {
    font-size: 24px;
    color: #990000;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body>
<table width="668" border="0">
  <tr>
    <td align="center"><strong><span class="style1"><?php echo $_GET['titulo']; ?><br />
      <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','370','height','210','src','<?php echo $_GET['swf']; ?>','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="370" height="210">
        
        <param name="quality" value="high" /><param name="SRC" value="<?php echo $_GET['swf']; ?>" />
        <embed src="<?php echo $_GET['swf']; ?>" width="370" height="210" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
      </object></noscript>
      <br />
      </span><a href="2.html">Volver a animaciones</a><span class="style1"><br />
    </span></strong></td>
  </tr>
</table>
</body>
</html>
Estoy desesperadisimo! no entiendo porque no funciona! hice todo bien!!!

Cuando lo pruebo dice: "no se pudo cargar pelicula"!!!!
  #2 (permalink)  
Antiguo 21/07/2009, 18:22
Avatar de bioxido  
Fecha de Ingreso: diciembre-2008
Ubicación: $_SERVER['PHP_SELF']
Mensajes: 601
Antigüedad: 15 años, 4 meses
Puntos: 21
Respuesta: Porque no funciona!!!

pff si vas a escribir el link completo en html y no lo vas a generar, entonces para que usas php? usa html mas facil, mas rapido, mas varato.
  #3 (permalink)  
Antiguo 21/07/2009, 19:36
Avatar de gildus  
Fecha de Ingreso: agosto-2003
Mensajes: 1.495
Antigüedad: 20 años, 8 meses
Puntos: 105
Respuesta: Porque no funciona!!!

Holas,

Que error te sale?, o no te muestra nada?.

Saludos
Gildus
__________________
.: Gildus :.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 18:31.