File Uploader
File Upload
Select a file to upload:
File: uploader.php
if( $_FILES['file']['name'] != "" )
{
copy ( $_FILES['file']['tmp_name'],
"C:/Apache/htdocs/" . $_FILES['file']['name'] )
or die( "Could not copy file" );
}
else
{
die( "No file specified" );
}
?>
Upload complete
File upload succeeded...
- Sent:
- Size: bytes
- Type:
">Click here to view file