Pagina 1 din 1

Eroare adaugare date in echo

Scris: Mie Dec 07, 2011
de MelecaCristian
Am o problema cu adaugarea datelor in scriptul de mai jos ...
nu se adauga date ... si nici nu schimba datele cand la format detecteaza url-ul acela ...
de ce nu suporta functia get ??? sau am gresit eu cand lam scris ?

Cod: Selectaţi tot

<style type="text/css">
#bottom {
width: 98.5%;
position: fixed;
buttom: 0px;
text-align: center;
}
</style><center>
<font color="red">
<?php
$url = $_GET['1'];
$oid = $_GET['oid'];
$id = $_GET['id'];
$hash = $_GET['hash'];
$auto = $_GET['auto'];
?>
<?php
$format = $_GET['format'];

if ($format == "vk.com/video_ext.php"){
echo '<div id="bottom"><iframe src="http://<?=$url?>?oid=<?=$oid?>&id=<?=$id?>&hash=<?=$hash?>" width="480" height="290" scrolling="no" frameborder="0"></iframe><a target="_blank" href="http://movie.zoynkss.com/full.php?1=http://<?=$url?>?oid=<?=$oid?>&id=<?=$id?>&hash=<?=$hash?>">Vizualizati in rezolutie mai mare pentru comfortul ochiilor dvs.</a></div>';
}else{
echo '<div id="bottom"><img src="http://www.njoyonline.com/images/loading_bk.gif"></div>';
}

?>

Eroare adaugare date in echo

Scris: Joi Dec 08, 2011
de lookme
Schimba linia :

Cod: Selectaţi tot

echo '<div id="bottom"><iframe src="http://<?=$url?>?oid=<?=$oid?>&id=<?=$id?>&hash=<?=$hash?>" width="480" height="290" scrolling="no" frameborder="0"></iframe><a target="_blank" href="http://movie.zoynkss.com/full.php?1=http://<?=$url?>?oid=<?=$oid?>&id=<?=$id?>&hash=<?=$hash?>">Vizualizati in rezolutie mai mare pentru comfortul ochiilor dvs.</a></div>';
Cu:

Cod: Selectaţi tot

echo '<div id="bottom"><iframe src="http://'.$url.'?oid='.$oid.'&id='.$id.'&hash='.$hash.'" width="480" height="290" scrolling="no" frameborder="0"></iframe><a target="_blank" href="http://movie.zoynkss.com/full.php?1=http://'.$url.'?oid='.$oid.'&id='.$id.'&hash='.$hash.'">Vizualizati in rezolutie mai mare pentru comfortul ochiilor dvs.</a></div>'; 

Eroare adaugare date in echo

Scris: Joi Dec 08, 2011
de MelecaCristian
multumesc mult a mers :D