I found few snippet from online to upload image from iphone to the server folder, it's showing to use server side scripting eg. use php at server side
<?php
$uploaddir = 'uploads/';
$file = basename($_FILES['userfile']['name']);
$uploadfile = $uploaddir . $file;
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
echo "Uploaded!";
}else{
echo "Not Uploaded!";
}
/>
is it any possibilites to upload image directly to the server folder without the above code,
let say I want to upload into http://111.22.333.44/mysite/pics/
w/o any server side scripting, if can how this can be done
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…