So after trying a few methods of uploading a Base64 Image String to the database I have noticed that after uploading some spaces and "next lines" were missing. If I have a Base64 String of an image in Android Studio, how do I upload and download it to a PHP server without changing the original?
关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
上传到MySQLi服务器A Base64图像Android Studio
收起
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 微信扫一扫点击复制链接分享
- 邀请回答
- 编辑 收藏 删除 结题
- 收藏 举报
追加酬金 (90%的用户在追加酬金后获得了解决方案)
当前问题酬金
¥ 0 (可追加 ¥500)
支付方式
扫码支付
加载中...
0条回答 默认 最新
报告相同问题?
提交
- 2016-01-29 17:24回答 1 已采纳 Instead of localhost use this: http://10.0.2.2 Reference
- 2018-10-10 10:48回答 1 已采纳 you can save the files in server and keep the filename in DB is the preferred solution. Also there
- 2016-01-30 05:15回答 2 已采纳 Please refer to my answer to the question: Save multiple image into mysql php from android but on
- 2021-05-16 04:08Android相机上传器 版权所有(c),2018,Krystian Kl 要求 ...Android Studio 3.2或更低版本(用于编译apk) ... json编码器和解码器:android应用程序必需 mysql(或php7或最新版本的...当应用程序将图像或视频上传到服务器
- 2019-06-08 05:18回答 1 已采纳 When you load your page with this code the PHP interpreter has to finish fetching the image over t
- 2015-10-20 08:54回答 1 已采纳 i found the problem. for some reason the size of the image was effect on the transferred so i re s
- 2015-11-20 06:58回答 3 已采纳 Here is the solution of my question: - Here is code of php file - file.php <?php // DISPLAY
- 2021-06-05 18:08麦麦皮的博客 if(mysqli_num_rows($result)){ while($row = mysqli_fetch_assoc($result)){ $json['tbl_accepted'][]=$row; } } mysqli_close($conn); echo json_encode($json); ?> 在此先感谢先生们。 +0 @Selvin - 我会试着...
- 2014-10-17 20:59回答 3 已采纳 You can't use $this for local variable, they will need to be property of the class, and you need a
- 2016-06-17 23:36回答 1 已采纳 You are probably running a network request on the main thread, that is the thread that is used by
- 2016-05-14 17:01回答 1 已采纳 Problem : You don't have photos directory as in your script directory. Solution : Try to move yo
- 2016-12-12 14:11Vancyf的博客 base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==" ; return support; } )(), // 检测是否已经安装flash,检测flash的版本 flashVersion = ( function () { var version; try { ...
- 2016-03-19 15:57回答 1 已采纳 Can you double check your code? Your $photo is never used and the $imagethat you're trying to deco
- 2022-04-22 21:56勇敢di牛牛的博客 Android端发送post请求访问服务器MySQL,对用户账号密码进行登录验证。 连续更新,超详细。
- 2022-03-13 18:18不混世的大魔王的博客 如何将本地使用PHP搭建的网站搬到云服务器 已经毕业快一年了,去年这个时候还在忙活自己的毕设,由于对于Java不太熟练,所以就先使用php写的网站后台,很简易,但是对于当时的自己还是很有成就感的,心里一直想着把...
- 2023-09-19 22:22黑夜开发者的博客 中秋节是我国国传统的重要节日之一...本篇文章通过华为云云耀云服务器L实例进行支持开发,用PHP和开发一个中秋节祝福语生成工具。通过点击按钮和输入姓名,后端随机返回一条祝福语,并将名字加到祝福语的前面展示出来。
- 2022-06-11 08:17oak0412的博客 想要弄一个用电器识别装置,识别完了之后将结果发送到网页端进行显示,ESP32自带的WiFi可以实现将识别数据传输到云服务器的MySQL上,最后在服务器上搭建的网页端读取MySQL数据显示出来 其实这个完全可以用MQTT开源...
- 2019-09-23 10:42a_靖的博客 title: '最多上传三张图片', icon: 'loading', duration: 3000 }); } }, }) 2 姓名: 请输入姓名" /> 电话: 请输入电话" /> <image bindtap="upimg" src='../../img/jia.jpg'></image> ...
- 2021-10-01 12:47Phanton03167的博客 Base64注入攻击
- 没有解决我的问题, 去提问
悬赏问题
- ¥40 复杂的限制性的商函数处理
- ¥15 程序不包含适用于入口点的静态Main方法
- ¥15 素材场景中光线烘焙后灯光失效
- ¥15 请教一下各位,为什么我这个没有实现模拟点击
- ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
- ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
- ¥20 有关区间dp的问题求解
- ¥15 多电路系统共用电源的串扰问题
- ¥15 slam rangenet++配置
- ¥15 有没有研究水声通信方面的帮我改俩matlab代码