Location: PHPKode > scripts > phpTub > demo.php
<?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");
?>
Return current item: phpTub