hello everyone !
If i just uploaded an image with a form and I'd like to display it
wouldnt the right way to do this be
$img = $_FILE['file']; echo "<img src='$img'>";
thanks
Something more like:
$img = $tmp_upload_dir . $_FILE['file']['tmp_name']; echo "<img src='$img'>";
how long will a temp image residez in temp dir ??
Like if i want to manage the whole file for about 3 scripts before copying it to a final desitination 🙂 🙂
The manual says:
The file will be deleted from the temporary directory at the end of the request if it has not been moved away or renamed.
thanks ! ! !