Cesar D. Rodas, web development. Technology news. PHP, MySQL, Apache, C, Bash, ASM

How to (up/down)load videos from youtube with PHP

I was surfing in the phpclasses and I’ve found this wonderful class. phpTube which gives you the possibility to download and upload videos to youtube from php with an easy API. For so many sites this class is very useful because it offers a great interactive service with the bigger Video Portal of the world.

<?php
include_once (“phptube.php”);
$tube = new PHPTube ();
$tube->download(“TWZ5j-SNVKs”,“demo.flv”);

$tube = new PHPTube (“username”,“password”);
$id = $tube->upload (“/path/to/videofile.3gp”,“PHPTube Demo”, “Demo PHP YouTube”, “…”, 10, “DE”);

?>

The entire class could be downlaoaded from here

You may also get benefits of free web hosting packages which are offered by some web hosts free of charges. The dedicated hosting service providers offer most reliable hosting plans along with the connectivity of dedicated servers, a potent one. The hosting plans of aplus hosting are well-liked by all potential customers due to valuable features, connecting a number of computers in the same network.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. Digg del.icio.us StumbleUpon Technorati BlinkList Furl NewsVine Reddit

5 Responses to “How to (up/down)load videos from youtube with PHP”

  1. meneame.net Says:

    Como levantar/descargar videos a YouTube con PHP…

    Este articulo muestra como utilizar los servicios webs de YouTube para descargar y levantar videos….

  2. www.webeame.net Says:

    Como levantar/descargar videos a YouTube con PHP…

    Este articulo muestra como utilizar los servicios webs de YouTube para descargar y levantar videos….

  3. www.programame.net Says:

    Este articulo muestra como utilizar los servicios webs de YouTube para descargar y levantar videos….

    Este articulo muestra como utilizar los servicios webs de YouTube para descargar y levantar videos….

  4. Michael Kamleitner Says:

    hi,

    thanks for mentioning my class! I just have released a minor bugfix (0.1.2), which was necessary due to recent changes in the YouTube Upload-forms. get more info at:

    http://nonsmokingarea.com/blog/2007/07/01/youtube-google-maps-phptube-012/

  5. All in a days work… Says:

    […] How to up and/or down load videos from YouTube with PHP (tags: YouTube) […]

Leave a Reply


Fatal error: Call to undefined function display_cryptographp() in /home/.schmuckie/saddor/cesarodas.com/wp-content/themes/first-spring-10/comments.php on line 94