fetching image by url and storing in mysql
| From: | Marcus Fleige | Date: | Tue, 29 Oct 2002 16:29:36 +0000 |
| Subject: | fetching image by url and storing in mysql | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-22789@lists.php.net to get a copy of this message | ||
hi there,
i would like to get an image from an web-url and store it into
mysql-db.
inserting local images or images i upload to the server is no
problem, but handling urls as images seems quite difficult..
now, for fopen() i need the filesize() of the image, but that command
does not work on urls...
anyone got an idea how to solve this, perhaps even without writing an
temporary image to disk? code snippets anyone?
thanks so far,
greetings from germany!
marcus
--
^v^
thekengoth@darkdoom.de