Hi ...
Is it possible to concat two variables in bytes for php post (var name and var value).
Is it possible to use postbyte in this way? I used combine and join instead of concat, but it didn't work
Is it possible to concat two variables in bytes for php post (var name and var value).
Is it possible to use postbyte in this way? I used combine and join instead of concat, but it didn't work
post:
Dim var As String="img="
Dim bmp As Bitmap=ImageView1.Bitmap
Dim i() As Byte = ImageToBytes(bmp)
Dim vb() As Byte=var.GetBytes("UTF8")
Dim data() As Byte = Concat(vb, i) ' vb+i such as & for concat two string
Dim j As HttpJob
j.Initialize("insertimg", Me) 'jobdon
j.PostBytes(ServerIP & "insert.php", data)
concat:
Sub concat(vname as byte,image as byte) as byte
dim c as byte
c=vname+image ??????????
return c
End Sub