php
-----------------------
<?php
$file_path = "uploads/";
$file_path = $file_path . basename( $_FILES['uploaded_file']['name']);
if(move_uploaded_file($_FILES['uploaded_file']['tmp_name'], $file_path)) {
echo "success";
} else{
echo "fail";
}
?>
android
------------------------------
http://www.mediafire.com/download/q0a4n52a8gdwh6d/UploadToServer.rarr
-----------------------
<?php
$file_path = "uploads/";
$file_path = $file_path . basename( $_FILES['uploaded_file']['name']);
if(move_uploaded_file($_FILES['uploaded_file']['tmp_name'], $file_path)) {
echo "success";
} else{
echo "fail";
}
?>
android
------------------------------
http://www.mediafire.com/download/q0a4n52a8gdwh6d/UploadToServer.rarr
No comments:
Post a Comment