List Info

Thread: note 71441 added to features.file-upload




note 71441 added to features.file-upload
user name
2006-11-29 09:29:38
i never work all above code
and i try this work fine

 $file_name = $_FILES['file']['tmp_name'];
                    $localfile =
file_get_contents($file_name);
                    $handle =
fopen($_FILES['file']['name'],"w");
                    if(fwrite($handle,$localfile)>-1)
                    {
                    echo "done";
                    }
                    else
                    {
                    echo "error";
                    }
----
Server IP: 216.194.113.175
Probable Submitter: 212.174.130.50
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit        -- https://master
.php.net/note/edit/71441
Del: integrated  -- h
ttps://master.php.net/note/delete/71441/integrated
Del: useless     -- http
s://master.php.net/note/delete/71441/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/71441/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/71441/spam
Del: non-english -- 
https://master.php.net/note/delete/71441/non-english
Del: in docs     -- http
s://master.php.net/note/delete/71441/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/71441
Reject      -- https://mast
er.php.net/note/reject/71441
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )