tags:

views:

15

answers:

1

Hi,

when upload an image is stored in tmp folder, but because i am in shared hosting i can not change the upload_dir in php.ini.

Is it possible after image store in common tmp folder show it to user

<img src="path to tmp folder" />

(Which is the path to tmp folder)

Thanks

A: 

Use move_uploaded_file to move the file to your own directory.

Emil Vikström
thats what i am using now, but that means that i have to clean up my folder and server's tmp clean up by server
ntan