View Single Post
Old 12-11-2008, 02:05 AM   #6 (permalink)
moiseszaragoza
The Wanderer
 
Join Date: Dec 2008
Posts: 10
Thanks: 0
moiseszaragoza is on a distinguished road
Default

Thank you for all your help.

Ok i am having problems calling the functions inside the class.
I wonder if there is anything that i need installed on my server.

I know that i can upload a file and this is what i am doing

PHP Code:


function test(){
        
$uploaddir     =     '_files/';
            
$uploadfile =     $uploaddir basename($_FILES['file']['name']);
            
#$uploadfile =     $uploaddir . $_SESSION['UserID'] . date("YmdHis"). ".flv";  
            
$filename     =    basename($_FILES['file']['name']);
            
#$filename     =     $_SESSION['UserID'] . date("YmdHis"). ".flv";
            
if (move_uploaded_file($_FILES['file']['tmp_name'], $uploadfile)) {
            
#    echo "File is valid, and was successfully uploaded.\n";
            
} else {
            
#    echo "Possible file upload attack!\n";
            
}
            
#echo 'Here is some more debugging info:';
            #print_r($_FILES);
            #echo($uploadfile);
            
YorshffmpegWrapper($$filename$ffmpeg_path "ffmpeg");
    } 
moiseszaragoza is offline  
Reply With Quote