Re: file permission error

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

 



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

-- 
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