cant upload picture using Base64 in iphone app
问题 i ask this before in this forum but it was closed i dont know why, so i post my question again. in an iphone app i have to upload a picture using Base64 encoding, but when i look in the server the picture is all white ( size = 0x0 ,54 KO ), im sure that my Base64 encode of my pic is correct because i have a php script ,i use it and the picture appear normally. here is the php code used to upload : <?php $filename = "photo_to_upload.jpg"; $handle = fopen($filename, "r"); $imgbinary = fread(