<?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");?>