Foros del Web » Programando para Internet » PHP »

Problema con Streaming.PHP

Estas en el tema de Problema con Streaming.PHP en el foro de PHP en Foros del Web. Bueno, yo estaba editando mi navigation.php para hacer un submenú que se redirigiera a streaming.php y nada todo correcto, hasta que llegó el momento de ...
  #1 (permalink)  
Antiguo 10/05/2013, 18:30
 
Fecha de Ingreso: mayo-2013
Mensajes: 3
Antigüedad: 10 años, 11 meses
Puntos: 0
Problema con Streaming.PHP

Bueno, yo estaba editando mi navigation.php para hacer un submenú que se redirigiera a streaming.php y nada todo correcto, hasta que llegó el momento de hacer el Streaming.php, el cual se compone de este codigo y me daba error en la linea 31.

Cita:

<?php
/*
################################################## ########################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# | /| / /___) / ) (_ ` / ) /___) / / #
# _|/_|/__(___ _(___/_(__)___/___/_(___ _/___/___ #
# Free Content / Management System #
# / #
# #
# #
# Copyright 2005-2010 by webspell.org #
# #
# visit webSPELL.org, webspell.info to get webSPELL for free #
# - Script runs under the GNU GENERAL PUBLIC LICENSE #
# - It's NOT allowed to remove this copyright-tag #
# -- http://www.fsf.org/licensing/licenses/gpl.html #
# #
# Code based on WebSPELL Clanpackage (Michael Gruber - webspell.at), #
# Far Development by Development Team - webspell.org #
# #
# visit webspell.org #
# #
################################################## ########################
*/

include("_mysql.php");
include("_settings.php");

<object type="application/x-shockwave-flash" height="378" width="620" id="live_embed_player_flash" data="http://www.twitch.tv/widgets/live_embed_player.swf?channel=evidenttv" bgcolor="#000000">
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="always" />
<param name="allowNetworking" value="all" />
<param name="movie" value="http://www.twitch.tv/widgets/live_embed_player.swf" />
<param name="flashvars" value="hostname=www.twitch.tv&channel=evidenttv&au to_play=true&start_volume=25" /></object><a href="http://www.twitch.tv/evidenttv" class="trk" style="padding:2px 0px 4px; display:block; width:345px; font-weight:normal; font-size:10px; text-decoration:underline; text-align:center;">Watch live video from evidenttv on www.twitch.tv</a>

<tr>

<iframe frameborder="0" scrolling="no" id="chat_embed" src="http://twitch.tv/chat/embed?channel=evidenttv&amp;popout_chat=true" height="500" width="350"></iframe>
Quería saber en que estoy fallando.. quiero hacerlo como este: http://www.cerberusclub.eu/streaming.php
  #2 (permalink)  
Antiguo 10/05/2013, 19:43
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
Respuesta: Problema con Streaming.PHP

Pues en primera, no puedes mezclar PHP y HTML de esa manera, son dos lenguajes totalmente diferentes, tienes que salir del modo PHP usando ?>.

Saludos.

Etiquetas: html, sql
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 09:21.