Hiii,
I am looking for help with trying to get hold of a bit of source code on a web page. For examples sake, let's say it's YouTube, and I want to get the video description.
For example. Let's say the URL is http://youtube.com/watch?v=p0DWvta7pg0
and I want to get this code off the page and onto mine:
I want to do this as my site has a few of my favourite YouTube videos on it and I would like for the video descriptions to come up below the videos.PHP Code:<span id="vidDescBegin">
This is like the video description.
</span>
I'm not sure if you'd do
or something like that, any help appreciated greatly. will rep if i can.PHP Code:<?php
file_get_contents("http://youtube.com/watch?v=p0DWvta7pg0",<span id="vidDescBegin>,</span>");
?>
Moved by opensourcehost (Forum Moderator) from Web Designing: Please post in the correct forum next time, thanks.





.
Reply With Quote










