Hy guys, I need your help I managed to get the youtube link of the youtube videos that are posted on my website, now i need to get it to a website where the user can convert it so, this is how the link is: http://www.tralala.boom/test.php?url=http://www.youtube.com/watch?v=b57AHID-_3k&hq=1 Code (markup): i want to create a link in test.php that contains a part of the url something like this: http://www.conversionewebsite.org/?url=http://www.youtube.com/watch?v=b57AHID-_3k&hq=1 Code (markup): Thanks in advance
In test.php: <?php $ytURL = $_GET['url']; $conversionURL = "http://www.conversionewebsite.org/?url=$ytURL"; // choose only one of these: header("Location: $conversionURL"); // if you want to redirect the user to the conversion website echo $conversionURL; // if you only want to print the conversion website's URL exit(); ?> PHP: It should work.