I've tried doing that with bin64_decode and fwrite, but it seems to have lost something, as the browsers can't read the file. Nick Reinking