Post an Image
Posted: Wed Jul 20, 2011 5:06 pm
I've been reading the iOS notes as I've been trying to formulate how I'm going to post an image to a php script. I have had success in posting text to a url in a variable and figured that I could do the same with a picture. This didn't seem to work.
I then started looking into the liburl method which seemed to work for some users...however...in my reading of the iOS notes iOS doesn't support this at this time. I of course attempted it anyways and it didn't post anything. Am I correct in that liburl cannot be used to send data on the iOS or is my thinking wrong?
Thanks everyone!
The problem that I've found with the above is that it DOES post and the server gets the data however when its converted it just turns into a corrupted image that cannot be opened with a filesize of 0bytes.on mouseUp
put the imagedata of image "bob" into thebinarydata
put image "bob" into binarydata
post thebinarydata to url "##a url commented out"
send "swipeRight" to me in 0 seconds
end mouseUp
I then started looking into the liburl method which seemed to work for some users...however...in my reading of the iOS notes iOS doesn't support this at this time. I of course attempted it anyways and it didn't post anything. Am I correct in that liburl cannot be used to send data on the iOS or is my thinking wrong?
Thanks everyone!