Login   Register  
PHP Classes
elePHPant
Icontem

File: demo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Michael Kamleitner  >  phpTube  >  demo.php  >  Download  
File: demo.php
Role: Example script
Content type: text/plain
Description: Example Code
Class: phpTube
Upload and download video files from YouTube
Author: By
Last change:
Date: 2007-06-21 04:04
Size: 258 bytes
 

Contents

Class file image Download
<?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");
?>