From: [EMAIL PROTECTED] Operating system: Windows & Linux PHP version: 4.0.6 PHP Bug Type: Filesystem function related Bug description: Remote File Size / Attribute I need to know the file size of remote file, but never be able to do it. One of the my example PHP Script: <?php $location = "http://www.blockm.com/admin.gif"; $fp = fopen($location,"w"); //$fp = file_exists($location); if(!$fp) {$message = "File not found";} else {$message = "File Found"; $temp = fstat($location); $image = GetImageSize ($location); } echo "$message<br>"; echo "File Size: " . $temp[7] . "<br>"; echo "Image Size: $image[3]<br>"; fclose($fp); ?> The above script can working properly for reading local file. NB: I am doing project for Banner exchange. I want to put all the banner immage on remote Server. Regards Eko -- Edit bug report at: http://bugs.php.net/?id=13256&edit=1 -- PHP Development 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]