upload.php
upload file from windows to linux
on linux
- run apache
- create upload.php script
<?php
$uploadPath = '/var/www/html/uploads';
$uploadFile = $uploadPath . $_FILES['file']['name'];
move_uploaded_file($_FILES['file']['tmp_name'], $uploadFile);
?>