Re: file permission error
| From: | Richard Lynch | Date: | Mon, 22 May 2006 19:44:16 +0000 |
| Subject: | Re: file permission error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236664@lists.php.net to get a copy of this message | ||
On Mon, May 22, 2006 10:55 am, suresh kumar wrote:
> I am facing one problem in my project.I am uploading an image
> .its get storing in DB.
This is your first problem :-)
Unless you are the CIA using a custom builtin SQL function to compare
images, what point is there in throwing this big blob in your DB?
You can't do anything useful with it in there.
> i am storing images in /tmp folder as
> file.
The file uploaded to PHP in /tmp will DISAPPEAR as soon as the script
finishes.
You need to use http://php.net/move_uploaded_file
> while i am retrieving a image its displaying file permission
> error."fopen() could not open socket.file permission error".
--
Like Music?
http://l-i-e.com/artists.htm