I found this php script in order to handle mms received and store them into my 
database
(this file was created by a user and reported in this page: 
http://thilani.wordpress.com/):
--------------
$uploaddir = '/var/www/html/';
foreach ($_FILES as $i => $file) {
$part = $_FILES[$i];
$uploadfile = $uploaddir . basename $part['name'][0]);
if(move_uploaded_file($part['tmp_name'][0],$part['name'][0])) {
echo "File is valid, and was successfully uploaded.\n";
}
else {
echo "File upload error!\n";
}
}
---------------------
Do you think it could be good for what i need to do with the mms? 


      
_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to