Hi there....
the problem seems to be that when you upload a file format that the browser doesn't recognise, it tends to automatically class it as the mime type 'application/x-macbinary'
after looking at the files, i have come to the conclusion that with this standard MacBinary format (NOT the compressed version) all that is added is a simple header. this can be got rid of and the file can ran as normal.
try this little function out, it creates a temp file, whilst leaving the original intact for comparison (returns the new 'un-macced' filename)
function util_convertmacbin($filename) {
$fp = fopen($filename,'r');
fseek($fp,128);
$data = fread($fp,(filesize($filename)-128));
fclose($fp);
$newfile = tempnam ('/tmp', 'temp');
$fp = fopen($newfile,'w');
fwrite($fp,$data);
fclose($fp);
return $newfile;
}
/tony