|
Posted by Andy Hassall on 10/22/38 11:26
On 12 Sep 2005 02:40:26 -0700, "SraigiuZ" <juozas.dovydaitis@gmail.com> wrote:
>I want to make a file upload using php, but everytime i get an error
>"File name not given". Any hints why this is happening? I used a sample
>from php.net, and other php sites, but all samples are basically the
>same. Maybe someone from you has a good and working example?
The example in the manual is a full working example (split over two examples,
one for the form, one to process the file) and includes proper error handling:
http://www.php.net/manual/en/features.file-upload.php
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|