Re: how can i save a photo in mysql use php?

From: Date: Fri, 28 Jun 2002 03:59:08 +0000
Subject: Re: how can i save a photo in mysql use php?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20179@lists.php.net to get a copy of this message
On Friday 28 June 2002 11:29, Msolutions wrote: > hi all > how can i save a photo in mysql use php? > can you tell me the data type too>? In most cases you shouldn't store a binary file in a database. It is more efficient to store a pointer (eg the name of the file) then have the actual file in the filesystem. If you still want to store the file in the db then the datatype you need is BLOB. For full details search the archives. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* To be who one is, is not to be someone else. */

« previous php.db (#20179) next »