Also i forgot, when the upload is successful i get this (this is the same page)
Status object: WA_UploadResult1
statusCode : 1
errorMessage :
clientFileName : 3721428_460s.jpg
fileExtension : jpg
serverFileName : 3721428_460s_1.jpg
serverSimpleFileName : 3721428_460s_1
serverDirectory : C:\wamp\www\ABC\Slike galerija\
contentType : image/jpeg
fileWasOverwritten :
fileWasSkipped :
fileWasRenamed : 1
fileSize : 194017
isImage :
imageWidth : -1
imageHeight : -1
WA_UploadResult1_1:
clientFileName : 3721428_460s.jpg
fileExtension : jpg
serverFileName : 3721428_460s_1.jpg
serverSimpleFileName : 3721428_460s_1
serverDirectory : C:\wamp\www\ABC\Slike galerija\
contentType : image/jpeg
fileSize : 194017
imageWidth : -1
imageHeight : -1
fileWasOverwritten :
fileWasSkipped :
fileWasRenamed : 1
statusCode : 1
array
'naziv' => string 'dfds' (length=4)
'Insert_x' => string '40' (length=2)
'Insert_y' => string '22' (length=2)
'Insert' => string 'Insert' (length=6)
'WADAInsertRecordID' => string '' (length=0)
array
'path' =>
array
'name' => string '3721428_460s.jpg' (length=16)
'type' => string 'image/jpeg' (length=10)
'tmp_name' => string 'C:\wamp\tmp\php66A8.tmp' (length=23)
'error' => int 0
'size' => int 194017