Welcome Guest, Not a member yet? Register   Sign In
file upload
#1

[eluser]Unknown[/eluser]
i would like to ask a technical question about uploading a file usein php
first i build a form to upload that file lets say image
then in the php code i
{
echo $_files['file']['tmp_name'];
}
the when i run that code i get c:\xampp\temp\php#.tmp

so when i open the tmp file i found nothing expt some cookies i generate
should i see the file i load in that tmp or what ?
#2

[eluser]gunter[/eluser]
all uploaded files will be deleted after processing the script... so if they are deleted from the tmp folder it means that everything works ok ;-)
to use them you have to use the php function move_uploaded_file() or the codeigniter file upload library...




Theme © iAndrew 2016 - Forum software by © MyBB