Re: How do I read Exif data without a file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 25 February 2006 16:36, Niels wrote:

> Hi,
> 
> I have some images in a database -- I mean, the actual data. There are no
> files.
> 
> I want to read Exif data for these images, but the read_exif_data()
> function wants a file. I suppose I could write the images to temp files,
> but that's a bit wasteful. And where would I write them? Is there a folder
> I can count on being allowed to write to?
> 
> Thanks,
> Niels

Answering myself: I solved this with tempnam(). I'm not completely sure
about the portability, and of course it's a waste to write a file at all.
And it could pose a security problem as well. Ho hum.

//Niels

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux