I still can't find the image in the \photos\ folder. The debug results as follow:
Status object: WA_UploadResult1
statusCode : 1
errorMessage :
clientFileName : 767A4948_mobi.jpg
fileExtension : jpg
serverFileName : 767A4948_mobi_2.jpg
serverSimpleFileName : 767A4948_mobi_2
serverDirectory : \photos\
contentType : image/jpeg
fileWasOverwritten :
fileWasSkipped :
fileWasRenamed : 1
fileSize : 646725
isImage : 1
imageWidth : 1024
imageHeight : 1024
WA_UploadResult1_1:
clientFileName : 767A4948_mobi.jpg
fileExtension : jpg
serverFileName : 767A4948_mobi_2.jpg
serverSimpleFileName : 767A4948_mobi_2
serverDirectory : \photos\
contentType : image/jpeg
fileSize : 646725
imageWidth : 1024
imageHeight : 1024
isImage : 1
fileWasOverwritten :
fileWasSkipped :
fileWasRenamed : 1
statusCode : 1
array(1) {
["txt_photoupload"]=>
array(5) {
["name"]=>
string(17) "767A4948_mobi.jpg"
["type"]=>
string(10) "image/jpeg"
["tmp_name"]=>
string(29) "C:\php\uploadtemp\php7DAD.tmp"
["error"]=>
int(0)
["size"]=>
int(646725)
}
}