Jump to content


Photo

Problema Com $Id = $_Get['Id'];


  • Faça o login para participar
Nenhuma resposta neste tópico

#1 Rodrigo Ap.

Rodrigo Ap.

    Novato no fórum

  • Usuários
  • 13 posts
  • Sexo:Masculino

Posted 27/02/2011, 20:53

Ola amigo estou tentando criar um embed do video através de $id = $_GET['id']; eu criei o link com o ID, porem o embed não extraindo as informações para criar o video alguém sabe o que pode estar errado ?


index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Assistir Online  </title>
</head>
<body>

<!--inicio série-->
    <a href="megavideo.php?id=0GE80TST" title="">Assistir OnLine </a>
<!--fim série-->  

</body>
</html>



megavideo.php
<?php

$id = $_GET['id'];

echo '<object width="468" height="350">
<param name="movie" value="http://www.megavideo.com/v/$id" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="transparent" />
<embed src="http://www.megavideo.com/v/$id" type="application/x-shockwave-flash" allowfullscreen="true" wmode="transparent" width="468" height="350" /></embed></object>';

?>


Filmes 24Hrs é um site para que você possa assistir filmes Dublados e Legendados online, com qualidade

www.filmes24hrs.net

Posted Image





1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq