RE: [PHP-DB] image from db to folder?

From: Date: Fri, 11 Apr 2003 00:37:00 +0000
Subject: RE: [PHP-DB] image from db to folder?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-27001@lists.php.net to get a copy of this message
> Can you tell me how I can save an image stored in database as a > picture(jpeg) in a folder on the server? Just select out the data, put it in a variable, open a file with fopen() and write that variable. Name it with a .jpg extension if you want other programs to recognize it. Check out the fopen page for details. www.php.net/fopen ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/

« previous php.db (#27001) next »