RE: [PHP-DEV] PHP 4.0 Bug #6401: read_exif_data fails
| From: | Howard Cohodas | Date: | Mon, 28 Aug 2000 15:32:19 +0000 |
| Subject: | RE: [PHP-DEV] PHP 4.0 Bug #6401: read_exif_data fails | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30975@lists.php.net to get a copy of this message | ||
The jpg file is in the same folder that the php source is. The permissions
are set to everyone, full control.
Is there anything else I should check?
Howard A. Cohodas
Design Knowledge Technologies Inc.
Phone: (011)(330)492-9900
FAX: (011)(330)492-1100
otfGIF Encoder: http://www.dkt.com/otfGIF
-----Original Message-----
From: Rasmus Lerdorf [mailto:rasmus@php.net]
Sent: Monday, August 28, 2000 11:24 AM
To: Howard.Cohodas
Cc: php-dev@lists.php.net
Subject: Re: [PHP-DEV] PHP 4.0 Bug #6401: read_exif_data fails
This happens in this condition:
struct stat st;
if (stat(FileName, &st) >= 0) {
ImageInfo->FileDateTime = st.st_mtime;
ImageInfo->FileSize = st.st_size;
} else {
php_error(E_ERROR,"Can't get file statitics");
}
Perhaps a permission problem?
-Rasmus
On 28 Aug 2000 Howard.Cohodas@dkt.com wrote:
> From: Howard.Cohodas@dkt.com
> Operating system: NT4 SP6a
> PHP version: 4.0 Latest CVS (28/08/2000)
> PHP Bug Type: Other
> Bug description: read_exif_data fails
>
> Configuration...
> php-4.0.2-dev-Win32-24-8-2000.zip
> Server API: ISAPI
> WinNT4 SP6a
> HTTP Server: WebSitePro/2.5.4
> mySQL: 3.23.22-beta
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Fatal error: Can't get file statitics
>
> Attempted function on several jpg's including two downloaded from a
camera.
>
>
>