我正在处理一个应用程序,我正在向服务器发送base64编码的图像字符串。字符串是正确的,当我从XCode调试器窗口复制字符串并从PHP生成图像时,它会生成一个正确的有效图像。但是当我通过webservice发送相同的字符串时,它会在字符串中添加一些额外的字符,并且图像会被破坏。
如何从此字符串中删除这些额外字符。
以下是来自XCode调试器的图像的base64字符串:
/9j/4AAQSkZJRgABAQAASABIAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAAB
AAEAAIdpAAQAAAABAAAAJgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABd6AD
AAQAAAABAAABHgAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklN
BCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/8AAEQgBHgF3AwEiAAIRAQMRAf/EAB8A
AAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAAB
fQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYn
KCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeI
iYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh
4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYH
CAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRC
kaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZX
WFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKz
tLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/bAEMA
BgYGBgYGCgYGCg4KCgoOEg4ODg4SFxISEhISFxwXFxcXFxccHBwcHBwcHCIiIiIi
IicnJycnLCwsLCwsLCwsLP/bAEMBBwcHCwoLEwoKEy4fGh8uLi4uLi4uLi4uLi4u
Li4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLv/dAAQAGP/aAAwD
AQACEQMRAD8A+qaKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKK
KKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKK
KKACiiigAooooA//0PqmiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKK
KKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKK
KKACiiigAooooAKKKKAP/9H6pooooAKKKKACiiigAooooAKKK5rxlr6eF/C+o68x
G61hZo9wJBlb5YwQOxcgGgDpaK+WvgV4+8Sa/wCIr/SNfvnu0kga5j83lldXUEJ6
KQ2dvQY4A5r6loAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK
KKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//9L6pooooAKKKKAC
iiigAooooAK8J/aF1L7J4GjslPzXt3GhH+ygaQ/qq17tXyV+0rqYe+0fR1PMUUtw
w/66MEU/+ONQB5P8LNTk0D4g6RcTZRJpVhbPAKXC7Afplgfwr9Da+FPix4ck8Lnw
zeQDy3fTIY2I6+fb4LN9fnWvtfQ9TTWtFstXjGFvLeKcD08xQ2PwzQBqUUUUAFFF
FABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFF
FABRRRQAUUUUAFFFFABRRRQB/9P6pooooAKKKKACiiigAooooAK+K/2ivn8d2a/9
Q+If+Rpa+1K+K/2gvm+IVmv/AE5QD/yLJQB6n+0VpQuvB9rqaLl7K7UE+iSqVP8A
48Frqfglqn9p/DqwVjl7QyW7f8AclR/3wVrd+J2l/wBr+ANZswMsLZplH+1BiUY/
Fa8d/Zq1Tfp2r6Mx/wBVLHcKPXzFKN+Wxfz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4dv/ALF5rFxbSR7olJ5IVlIKr6DBxXmsngX4z+ASZNEe4khU/wDLhIZUJ/64n5j+
KV9u0UAfFX/CUftDH/ljqX/gvX/4zUM+uftBaggspI9VUSnblLTySM/9NFjUr9dw
r7booA+O9E/Z88UavN9u8WX62hkO51B+0Tk/7TZ2g++5vpXunh34O+A/Du2RLIXs
6/8ALW7IlOfZcBB9Qua9QooAaqqihEAVVGABwABTqKKACiiigAooooAKKKKACiii
gD588W/AO18TeIrvXotXe1F23mNE0Pm4cjnDeYvB7DHFc3/wzNHn/kPnH/Xp/wDb
q+p6KAPl+3/ZoslnDXeuSSRd1jtwjH6MZGA/75r0zwt8HPBfhS/j1S0ilurqL/Vy
XLh9jf3gqqq59Djjtg16pRQAUUUUAFFFFABRRRQAUUUUAf/U+qaKKKACiiigAooo
oArXt5badZz6heuI4LeNpZXOSFRAWY8ZPAFfGXxT+MI8a2g8N+HoJYbJpA0kknEk
5X7qhFzhd3PJJJx0xg/Z15aW9/aTWN4gkguI2ikQ9GRxtYH6g4riPDfww8E+Fp/t
el6ejXAbcs0xMrp6bC+duPUYPqTQBn/CTwZL4L8JR2t6AL27b7TcDHKFgAsef9kD
n/azivT6KKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiig
AooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD//V+qaKKKACiiig
AooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiig
AooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//1vqmiiig
AooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiig
AooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/9f6
pooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiig
AooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiig
D//Q+qaKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiig
AooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiig
AooooA//2Q==
这是从服务器回显的字符串:
/9j/4AAQSkZJRgABAQAASABIAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAABrnAAEAAIdpAAQAAAABAAAAJgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABd6ADrnAAQAAAABAAABHgAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNrnBCUAAAAAABDUHYzZjwCyBOmACZjs EJ /8AAEQgBHgF3AwEiAAIRAQMRAf/EAB8ArnAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABrnfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnrnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIrniYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drhrn4uPk5ebn6Onq8fLz9PX29/j5 v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHrnCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCrnkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXrnWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKzrntLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5 jp6vLz9PX29/j5 v/bAEMArnBgYGBgYGCgYGCg4KCgoOEg4ODg4SFxISEhISFxwXFxcXFxccHBwcHBwcHCIiIiIirnIicnJycnLCwsLCwsLCwsLP/bAEMBBwcHCwoLEwoKEy4fGh8uLi4uLi4uLi4uLi4urnLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLv/dAAQAGP/aAAwDrnAQACEQMRAD8A qaKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKrnKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKrnKKACiiigAooooA//0PqmiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKrnKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKrnKKACiiigAooooAKKKKAP/9H6pooooAKKKKACiiigAooooAKKK5rxlr6eF/C o68xrnG61hZo9wJBlb5YwQOxcgGgDpaK WvgV4 8Sa/wCIr/SNfvnu0kga5j83lldXUEJ6rnKQ2dvQY4A5r6loAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKrnKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//9L6pooooAKKKKACrniiigAooooAK8J/aF1L7J4GjslPzXt3GhH ygaQ/qq17tXyV 0rqYe 0fR1PMUUtwrnw/66MEU/ ONQB5P8LNTk0D4g6RcTZRJpVhbPAKXC7Afplgfwr9Da FPix4ck8LnwrnzeQDy3fTIY2I6 fb4LN9fnWvtfQ9TTWtFstXjGFvLeKcD08xQ2PwzQBqUUUUAFFFrnFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFrnFABRRRQAUUUUAFFFFABRRRQB/9P6pooooAKKKKACiiigAooooAK K/2ivn8d2a/9rnQ If Rpa 1K K/2gvm IVmv/AE5QD/yLJQB6n 0VpQuvB9rqaLl7K7UE iSqVP8Arn48Frqfglqn9p/DqwVjl7QyW7f8AclR/3wVrd J2l/wBr ANZswMsLZplH 1BiUY/rnFa8d/Zq1Tfp2r6Mx/wBVLHcKPXzFKN WxfzoA naKKKACiiigAooooAKKKKACiiirngAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiirngAooooA//9T6pooooAKKKKACiiigAooooAK K/jz83xJtF/6dbcf RHr7Ur4r OPrnzfFC0X/phbD/AMfagD7QmhjuIXt5huSRSrD1DDBFfF/wQmk8P/E660Cc/NLHcWhBrn/wCekLb8/XCNX2pXxP4l/wCKS PCXo SKS gnJ/2LgL5h/NmoA 2KKKKACiiigAornoooAKKKKACivN/HPxS8OeAriCy1RJ57i4QyCO3VSVTOAzbmUAEggYz0Nangrx7oHrnjuxku9GZ1eFgssEwCypnoSAWGGxwQf1BFAHaUUUUAFFFFABRRRQAUUUUAFFFFABRrnRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf/V qaKKKACiiigAooooAKKrnKKACviv40/N8V7Vf mdoP/HzX2pXxX8Yfm L1qv/AF5j/wAeoA 1K P/ANpHTTb6rn/pesoMfaLdoSR/ehfdn64k/SvsCvAv2idL 1 DLfUVGWsrtCT6JIpU/ PbaAPZfDrn2pDWdB0/Vgc/a7aKY/V0DEfgTWxXknwP1T 0vh1Yoxy9m8tu3/AWLKPwVlr1ugAornoooAKKKKACsnXdasPDukXOt6m y3tULue57BR7sSAPc1rV84ftGeIfsmhWXhyFsPrnfSmaUD/nnD0B rkEf7tAHlPhLRb/AOMvxAudX1sMLJG8652kgLH0ihU9s4x64BPWrnrHwrun8EfFiXw/cksk0k2nMcdWDZjbHuyj8DX0T8G/Da HfAlnvTbcX4 1zHv 8Arn2D8E28eua eRMrftB71BI/tUr07gbT Gf0oA 2qKKKACiiigAooooAKKKKACiiigrnAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/9b6pooooAKKKKACiiigrnAooooAK K/iz83xltl/27IfqtfalfFfxR b42Wy/9NrAf gUAfalcB8U9P8A7T HrnutWw6rbNN0z/AKgiX/2Wu/qhqtmNQ0u7sDyLiCSL/vtSv9aAPnH9mm8d9O1rTy VrnimhlC hkVlJ/HYPyr6dr44/ZuvDF4n1PT2486zEmPeKRR/7Oa x6ACiiigAooooArnK If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I9VUSnblLTySM/9NFjUr9dwrnr7booA O9E/Z88UavN9u8WX62hkO51B 0Tk/7TZ2g 5vpXunh34O A/Du2RLIXsrn6/8ALW7IlOfZcBB9Qua9QooAaqqihEAVVGABwABTqKKACiiigAooooAKKKKACiiirngD588W/AO18TeIrvXotXe1F23mNE0Pm4cjnDeYvB7DHFc3/wzNHn/kPnH/Xp/wDbrnq p6KAPl 3/ZoslnDXeuSSRd1jtwjH6MZGA/75r0zwt8HPBfhS/j1S0ilurqL/VyrnXLh9jf3gqqq59Djjtg16pRQAUUUUAFFFFABRRRQAUUUUAf/U qaKKKACiiigAooornoArXt5badZz6heuI4LeNpZXOSFRAWY8ZPAFfGXxT MI8a2g8N HoJYbJpA0kknEkrn5X7qhFzhd3PJJJx0xg/Z15aW9/aTWN4gkguI2ikQ9GRxtYH6g4riPDfww8E Fp/trnel6ejXAbcs0xMrp6bC duPUYPqTQBn/CTwZL4L8JR2t6AL27b7TcDHKFgAsef9kDrnn/azivT6KKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigrnAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD//V qaKKKACiiigrnAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigrnAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//1vqmiiigrnAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigrnAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/9f6rnpooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigrnAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigrnD//Q qaKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigrnAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigrnAooooA//2Q==
答案 0 :(得分:1)
如评论中所述,每插入64个字符“rn”。此外,“+”替换为“”。让我们改变一下。
使用输出字符串定义$s
:
$chars = str_split($s);
for($i = 64; $i < strlen($s); $i+=66) {
unset($chars[$i]);
unset($chars[$i+1]);
}
$new_s = str_replace(" ", "+", implode($chars));
for($i = 0; $i < strlen($new_s); $i++){
if($i > 0 && $i % 64 == 0)
echo "<br />";
echo $new_s[$i];
}
演示:http://sandbox.onlinephpfunctions.com/code/33ef917c4403560c469d8e9eea2ae88b4c6b732e
差异:https://www.diffchecker.com/ajAv578C