Hi there everyone,

I use the following to read in a text/php etc ..... file into a string so I can zip 
it, works no problem:

$filename2 = "/home/domain/domain33/web/zip/whois.php";
$fd = fopen ($filename2, "r");
$filedata = fread ($fd, filesize ($filename2));
fclose ($fd);

However, how can I read a .gif file (For example) into a string or array or something 
so that I can work with it?

Thanks everyone, this is a great list


Reply via email to