Foros del Web » Programando para Internet » PHP »

SOS - Flash no se muestra en PHP

Estas en el tema de SOS - Flash no se muestra en PHP en el foro de PHP en Foros del Web. Saludos, es la segunda vez que coloco este post... estoy extrayendo el flash de la base de datos pero no se muestra... solo me sale ...
  #1 (permalink)  
Antiguo 31/01/2008, 10:55
Avatar de T4ke0veR  
Fecha de Ingreso: agosto-2007
Ubicación: Quito - Ecuador
Mensajes: 1.720
Antigüedad: 16 años, 8 meses
Puntos: 28
SOS - Flash no se muestra en PHP

Saludos, es la segunda vez que coloco este post...
estoy extrayendo el flash de la base de datos pero no se muestra... solo me sale
"no se cargo la pelicula"

aqui les dejo mi codigo a ver si encuentran el error :(

Código PHP:
<?php require_once('Connections/incomed.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function 
GetSQLValueString($theValue$theType$theDefinedValue ""$theNotDefinedValue ""
{
  
$theValue get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

  
$theValue function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch (
$theType) {
    case 
"text":
      
$theValue = ($theValue != "") ? "'" $theValue "'" "NULL";
      break;    
    case 
"long":
    case 
"int":
      
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case 
"double":
      
$theValue = ($theValue != "") ? "'" doubleval($theValue) . "'" "NULL";
      break;
    case 
"date":
      
$theValue = ($theValue != "") ? "'" $theValue "'" "NULL";
      break;
    case 
"defined":
      
$theValue = ($theValue != "") ? $theDefinedValue $theNotDefinedValue;
      break;
  }
  return 
$theValue;
}
}
$colname_Recordset1 "-1";
if (isset(
$_GET['id'])) {
  
$colname_Recordset1 $_GET['id'];
}
mysql_select_db($database_incomed$incomed);
$query_Recordset1 sprintf("SELECT * FROM productos WHERE id = %s"GetSQLValueString($colname_Recordset1"int"));
$Recordset1 mysql_query($query_Recordset1$incomed) or die(mysql_error());
$row_Recordset1 mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 mysql_num_rows($Recordset1);
?>
<html>
<head>
<title>..// I N C O M E D //..</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">td img {display: block;}body {
    background-image: url(images/fondofondo.jpg);
}
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<link href="css/estilos.css" rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#ffffff">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- fwtable fwsrc="interno3.png" fwpage="ficha prod" fwbase="ficha_prod.gif" fwstyle="Dreamweaver" fwdocid = "365333443" fwnested="0" -->
  <tr>
   <td width="9"><img src="spacer.gif" width="9" height="1" border="0" alt="" /></td>
   <td width="177"><img src="spacer.gif" width="177" height="1" border="0" alt="" /></td>
   <td width="8"><img src="spacer.gif" width="8" height="1" border="0" alt="" /></td>
   <td width="265"><img src="spacer.gif" width="265" height="1" border="0" alt="" /></td>
   <td width="22"><img src="spacer.gif" width="21" height="1" border="0" alt="" /></td>
   <td width="82"><img src="spacer.gif" width="80" height="1" border="0" alt="" /></td>
   <td width="3"><img src="spacer.gif" width="3" height="1" border="0" alt="" /></td>
   <td width="81"><img src="spacer.gif" width="79" height="1" border="0" alt="" /></td>
   <td width="3"><img src="spacer.gif" width="3" height="1" border="0" alt="" /></td>
   <td width="82"><img src="spacer.gif" width="80" height="1" border="0" alt="" /></td>
   <td width="13"><img src="spacer.gif" width="13" height="1" border="0" alt="" /></td>
   <td width="12"><img src="spacer.gif" width="12" height="1" border="0" alt="" /></td>
   <td><img src="spacer.gif" width="10" height="1" border="0" alt="" /></td>
   <td width="4"><img src="spacer.gif" width="1" height="1" border="0" alt="" /></td>
  </tr>

  <tr>
   <td rowspan="15" bgcolor="#FFFFFF">&nbsp;</td>
   <td colspan="11" rowspan="2" bgcolor="#FFFFFF"><img name="ficha_prod_r1_c3" src="http://www.forosdelweb.com/images/banner.jpg" width="741" height="152" border="0" id="ficha_prod_r1_c3" alt="" /></td>
   <td width="12" rowspan="15" bgcolor="#FFFFFF">&nbsp;</td>
   <td><img src="spacer.gif" width="1" height="41" border="0" alt="" /></td>
  </tr>
  <tr>
   <td><img src="spacer.gif" width="1" height="111" border="0" alt="" /></td>
  </tr>
  <tr>
   <td height="6" colspan="11" bgcolor="#FFFFFF"></td>
   <td><img src="spacer.gif" width="1" height="6" border="0" alt="" /></td>
  </tr>
  <tr>
   <td rowspan="4" bgcolor="#FFFFFF"><img name="ficha_prod_r4_c3" src="http://www.forosdelweb.com/images/menu.jpg" width="177" height="208" border="0" id="ficha_prod_r4_c3" alt="" /></td>
   <td rowspan="12" bgcolor="#FFFFFF">&nbsp;</td>
   <td colspan="9" bgcolor="#FFFFFF"><img name="ficha_prod_r4_c5" src="http://www.forosdelweb.com/images/titulo_prod.gif" width="556" height="56" border="0" id="ficha_prod_r4_c5" alt="" /></td>
   <td><img src="spacer.gif" width="1" height="56" border="0" alt="" /></td>
  </tr>
  <tr>
   <td height="6" colspan="9" bgcolor="#FFFFFF"></td>
   <td><img src="spacer.gif" width="1" height="6" border="0" alt="" /></td>
  </tr>
  <tr>
   <td height="17" colspan="9" bgcolor="ffffff">&nbsp;</td>
   <td><img src="spacer.gif" width="1" height="17" border="0" alt="" /></td>
  </tr>
  <tr>
   <td width="256" rowspan="9" valign="top" bgcolor="ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
       <td width="3%" class="tituloINDEX">&nbsp;</td>
       <td width="97%" class="tituloINDEX"><?php echo $row_Recordset1['titulo']; ?></td>
     </tr>
     <tr>
       <td colspan="2">&nbsp;</td>
     </tr>
     <tr>
       <td colspan="2" class="textoINDEX"><div align="justify"><?php echo $row_Recordset1['comen']; ?></div></td>
     </tr>
   </table></td>
   <td colspan="8" rowspan="3" align="center" valign="top" bgcolor="#D8D8CC"><table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
       <td></td>
     </tr>
   </table>
/***************************************************\    
<script src="DWConfiguration/ActiveContent/IncludeFiles/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','282','height','226','src','flash/<?php echo $row_Recordset1['flash']; ?>','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash/<?php echo $row_Recordset1['flash']; ?>' ); //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="300" height="237">
  <param name="movie" value="flash/<?php echo $row_Recordset1['flash']; ?>">
  <param name="quality" value="high">
  <embed src="flash/<?php echo $row_Recordset1['flash']; ?>" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="282" height="226"></embed>
</object>
</noscript>
/***************************************************\
</td>
   <td><img src="spacer.gif" width="1" height="129" border="0" alt="" /></td>
  </tr>
  <tr>
   <td height="8" bgcolor="#FFFFFF"></td>
   <td><img src="spacer.gif" width="1" height="8" border="0" alt="" /></td>
  </tr>
  <tr>
   <td rowspan="7" bgcolor="#FFFFFF"><img name="ficha_prod_r9_c3" src="http://www.forosdelweb.com/images/banner_prod.gif" width="177" height="302" border="0" id="ficha_prod_r9_c3" alt="" /></td>
   <td><img src="spacer.gif" width="1" height="80" border="0" alt="" /></td>
  </tr>
  
    <td height="112" colspan="8" rowspan="4" bgcolor="#D8D8CC"><table width="257" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><?php         $producto_id=$row_Recordset1['id']; 
                                include(
'img_inc.php');
 
?></td>
      </tr>
    </table></td>
    <td height="5">&nbsp;</td>
 
  <tr>
   <td height="5"><img src="spacer.gif" width="1" height="53" border="0" alt="" /></td>
  </tr>
  <tr>
   <td height="3"><img src="spacer.gif" width="1" height="3" border="0" alt="" /></td>
  </tr>
  <tr>
    <td><img src="spacer.gif" width="1" height="53" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="7" bgcolor="#D8D8CC">&nbsp;</td>
   <td bgcolor="#D8D8CC">&nbsp;</td>
   <td><img src="spacer.gif" width="1" height="28" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="7" bgcolor="#FFFFFF">&nbsp;</td>
   <td bgcolor="#FFFFFF">&nbsp;</td>
   <td><img src="spacer.gif" width="1" height="85" border="0" alt="" /></td>
  </tr>
  <tr>
   <td height="9" colspan="13" bgcolor="#FFFFFF"></td>
   <td><img src="spacer.gif" width="1" height="9" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="13" valign="top"><p style="margin:0px"></p></td>
   <td><img src="spacer.gif" width="1" height="8" border="0" alt="" /></td>
  </tr>
  <tr>
   <td bgcolor="#FFFFFF">&nbsp;</td>
   <td colspan="11" bgcolor="#FFFFFF"><img name="ficha_prod_r17_c3" src="http://www.forosdelweb.com/images/abajofon.jpg" width="741" height="40" border="0" id="ficha_prod_r17_c3" alt="" /></td>
   <td bgcolor="#FFFFFF">&nbsp;</td>
   <td><img src="spacer.gif" width="1" height="40" border="0" alt="" /></td>
  </tr>
</table>
z
</body>
</html>
<?php
mysql_free_result
($Recordset1);
?>
les marque la parte del flash
__________________
Diseño gráfico, Web, imagen corporativa, publicidad ...
  #2 (permalink)  
Antiguo 31/01/2008, 11:39
Avatar de GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 11 meses
Puntos: 2135
Re: SOS - Flash no se muestra en PHP

Cerrado.

Continua en:

http://www.forosdelweb.com/f18/ayuda...-flash-552867/

Por favor no dupliques temas.
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.
Tema Cerrado




La zona horaria es GMT -6. Ahora son las 05:09.