Alberto Iglesias Well-Known Member Licensed User Longtime User Aug 5, 2017 #1 Any sample to use postfile to a php in B4i? B4X: Private jobPost As HttpJob jobPost.Initialize("JobUpload", Me) jobPost.PostFile("http://...../upload.php",strDir ,strFileUpload)
Any sample to use postfile to a php in B4i? B4X: Private jobPost As HttpJob jobPost.Initialize("JobUpload", Me) jobPost.PostFile("http://...../upload.php",strDir ,strFileUpload)
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2017 #2 Your code is correct. It reads the file and sends it as a POST message (not multipart). The server code is not related to the client code. If you have a PHP code working with B4A then it will work with B4i as well. Upvote 0
Your code is correct. It reads the file and sends it as a POST message (not multipart). The server code is not related to the client code. If you have a PHP code working with B4A then it will work with B4i as well.
Alberto Iglesias Well-Known Member Licensed User Longtime User Aug 6, 2017 #3 I left using those library... Now is working..... thank you! Last edited: Aug 6, 2017 Upvote 0