Hello Matt, So does that problem have a solution?
MM> Not on binary files. For an image that's 4494 bytes, file/join/strlen gives MM> me 3512. And since file() on a remote file is downloading it anyway, you MM> might as well do it right: MM> $fp = fopen('http://example.com/image.jpg','r'); MM> while (!feof($fp)) MM> $image .= fread($fp,1024); MM> echo strlen($image); MM> Matt ------------------------------------------------ Ivan 'Faeton aka xetrix' Danishevsky ICQ(240266) [EMAIL PROTECTED] www.xemichat.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]