PHP·98 questions

How to upload a file to the server?

Answer
Form: enctype='multipart/form-data'.
$_FILES['input_name'].
Error check: $_FILES['file']['error'].
move_uploaded_file() for saving.
Validate type and size.
Was this answer helpful?

More questions in this topic

Related questions from other topics