Files in PHP can be uploaded using move_uploaded_file ( string filename, string destination).

The filename is moved to the destination provided the file was uploaded via PHP's HTTP POST.

<?php
      move_uploaded_file($tmp_name, "$uploads_dir/$name");
?>

Posted in: PHP

Related FAQ's

Marius Ion ANGEL HOT SOFT LLC (800) 316-7677