AN anderson Developer · 146 posts 16 years ago #1 I want to upload/store images to a folder that is located outside of my web directory. Is it possible how? If it is what would be the image path and how to retrive images to web page? any expert knows share hare. thanks. Share Wait...
I0 i0nutzxp Developer · 150 posts 16 years ago #2 if (move_uploaded_file($_FILES['upload']['tmp_name'], "../{$_FILES['upload']['name']}")) { // mysql ... // print something } if ur upload is like : site.com/upload.php else if : site.com/dir/upload.php ../../filename Share <?php unlink('World/Europe/Romania.country'); ?>