You need two variables ?page=dd&id=???????? where ?????????? is the id for the swf file.
Then in your dd.php replace all [param] with <?php echo filter_var($_GET['id'], FILTER_SANITIZE_STRING); ?>
| SitePoint Sponsor |


You need two variables ?page=dd&id=???????? where ?????????? is the id for the swf file.
Then in your dd.php replace all [param] with <?php echo filter_var($_GET['id'], FILTER_SANITIZE_STRING); ?>
what about this
PHP Code:echo'
<iframe width="560" height="315" src="http://www.youtube.com/embed/'.$_GET['url'].'" frameborder="0" allowfullscreen></iframe>';


What about it? That looks to have nothing to do with your dd.php file.
thanks man you rock problem solvedreally thanks
how i can use single veriable in url
at this time its using two
dd&id
how i can use single veriable in url instead of two
http://utguyiui.webatu.com/index.php?page=dd&id=k3g6iiAEAuyt1N3TPDF
any help for this that how i can use 1 veriable in url
how i can use single veriable in url instead of double
http://utguyiui.webatu.com/index.php?page=dd&id=k3g6iiAEAuyt1N3TPDF
bcz this url is using single veriable http://veedio.info/dailymotion.php?url=k3g6iiAEAuyt1N3TPDF
or what will be the code to get id=523632 from url for {param}
i want to get id from url for {param}Code:<center><div><object width="700" height="530"><param name="movie" value="http://www.dailymotion.com/swf/{param}&v3=1&related=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/{param}&v3=1&related=1" type="application/x-shockwave-flash" width="700" height="530" allowFullScreen="true" allowScriptAccess="always"></embed></object></div>
http://veedio.info/dailymotion.php?url=k3g6iiAEAuyt1N3TPDF
it should be something like this <?php echo _var($_GET['id'] ?>
bcz <?php echo filter_var($_GET['id'], FILTER_SANITIZE_STRING); ?> this work for 2 veriables
confisued for this just look into this please
how we can write this with open and close tag of php
<iframe width="560" height="315" src="http://www.youtube.com/embed/'.$_GET['url'].'" frameborder="0" allowfullscreen></iframe>
bcz its using .$_GET['url'].
how we can write this with open and close tag of php
bcz its using .$_GET['url'].Code:<iframe width="560" height="315" src="http://www.youtube.com/embed/'.$_GET['url'].'" frameborder="0" allowfullscreen></iframe>
it would be like this ?
Code:<?php <iframe width="560" height="315" src="http://www.youtube.com/embed/'.$_GET['url'].'" frameborder="0" allowfullscreen></iframe> ?>please correct meCode:can we use this like <iframe width="560" height="315" src="http://www.youtube.com/embed/'<?php .$_GET['url']. ?>'" frameborder="0" allowfullscreen></iframe>
Are you trying to do like this:
Create a page "video.php"
If you want to access any youtube video with just id access it like below url:PHP Code:<?php
$id = $_GET["id"];
echo "<iframe width='560' height='315' src='http://www.youtube.com/embed/$id' frameborder='0' allowfullscreen></iframe>";
?>
http://example.com/video.php?id=vW4IzAjbqCU
I hope this will be helpful for you!
Bookmarks