html - Problems with base_64 to jpeg decode in php -
i have base_64 (in session) string. can print jpeg image when i'm doing in html
<img src="data:image/jpeg;base64,/9j/4aaqskzjrgabaqeayadiaad/2wbdaaggbgcgbqghbwcjcqgkdbqndasldbksew8uhrofhh0a hbwgjc4nicisixwckdcpldaxndq0hyc5ptgypc4zndl/2wbdaqkjcqwldbgndrgyirwhmjiymjiy mjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjiymjl/waarcafgaqadasia ahebaxeb/8qahwaaaqubaqebaqeaaaaaaaaaaaecawqfbgcicqol/8qatraaagedawieawufbaqa aaf9aqidaaqrbrihmuege1fhbyjxfdkbkaeii0kxwrvs0fakm2jyggkkfhcygroljicokso0nty3 odk6q0rfrkdisuptvfvwv1hzwmnkzwznaglqc3r1dnd4exqdhiwgh4ijipktljwwl5izmqkjpkwm p6ipqrkztlw2t7i5usldxmxgx8jjytlt1nxw19jz2uhi4+tl5ufo6erx8vp09fb3+pn6/8qahwea awebaqebaqebaqaaaaaaaaecawqfbgcicqol/8qatreaagecbaqdbacfbaqaaqj3aaecaxeebsex bhjbuqdhcrmimoeifekrobhbcsmzuvavynlrchyknoel8rcygromjygpkju2nzg5okneruzhselk u1rvvldywvpjzgvmz2hpann0dxz3ehl6gooehyahiimkkpoulzaxmjmaoqokpaanqkmqsro0tba3 ulm6wspexcbhymnk0tpu1dbx2nna4upk5ebn6onq8vp09fb3+pn6/9oadambaairaxeapwd2pw8/ mxost/0/eflggrcra8lc/wbrt66hj+iqp6vv03uauuuugciiigaooooakkkkaciiigaooooakkkk aciiigaooooakkkkaciiigaooooamu0oh6qp/cnuuarg2gbrdgfqgpjwfmww1par6gmvyooapno2 lvndptoc9cwl/hvdr7wc01vwi7abiygyckihr9zj4h1rcri0znxnap8a01ih/knayephyd7nqjzn oot8/wdasf0rdrc8kd/iw3r9b64p/kq1u0maooawkkqbrrrqauuuuaffffabrrrqauuuuaffffab rrrqauuuuaffffabrrrqauuuuaffffabrrrqavj6od2q643/ae9qv5rr1svj6ip9l1lvw+p6roka ai8ij/irsfw6udn1/etw7wd4ojphyjj/abtth/yk1b1dakkkkqbrrrqauuuuaffffabrrrqauvxu r+0skl3vzfco5jdwk5rupin4esog6xjusc8rdpt1ztsb1tfeqax8yzzuj0uzvobisu5i/cuxk+jp igysx1jlybgcnqp5uwhy+h6k+eo/id4ojxm/d47ngvp6vyk+k3isrhtnitjneyxrylhvtffp9v8a e/xgsysneeyqnjrkadflxqnhnx7pmvxrg8gt7vhmbng/q0wbo6yijr0opcciiigaooooakkkkaci iigarh0e5fvd/wbp8n8lfbfcq2q65yi4oj6qnqd31x5mznuzdad+tnabfhdnwvanx8xdupd2nbly vhey8kafznmefzjnbvdakkkkqbrrrqauuuuafffizkilmyko5jj6uadusaf3icgzjpavkpfxxvzj zbtraaq5u3lcnpskt4jeprea1fr9kn3livujupgp7opf3ryb5odtsgkxr7vrzulh57u5kmkc5jds 1tm5x1qvvzrmmmexjjpq5xz0qi8digggcysa9qnw9frurx1hskjfayxoohqzj3jcmreec5fvc8yq qhigd0twn8s77sp4re/ka5siqp3csg9rxtthf22p2cd3asrldimqy18nqtngv6d8mvftarrk2fzk fsv0duceefsf6u7xjapekkacjioqbbrrrqauuuuaffffabwn4b5srpv717ch/waisp6vs1jegb/x knp966ud/wcrnpobfcg2+e9kh/tsh/stisrwwmeftka/59i//qrwrq9wciiikauuuuafffz2uazb adpm1/dnhixwvdj2aoai1zxjpvh+2mt9ckry+wmcs34v4r4x+in54gc28dtbzd+ahbf6/wcfc7r+ uxwuanne3lks7clnhr2argyls8j6etuowryemmnykcotsonmyfbrcey87tines23o01v2mn5tjhi 4aonseqwryusmvntcvk0uc4rzs46n0rbi0z5axknb7cotpyurkcfo1o5pkzkx6ggdlyqvotoz701 o8gmiyy7euc0qdcdt2q9d045pvqyjzigauyp8ujlicdgg8uwnja6ck3dkbhvvw98bprdsmm3jbb2 nckc/wcsa/rxfv8salqkul6nb3sbxjc4yf4v9n6xqewq6zb3sbykybh7e1eu5jcoooqqciiigaoo ooakxfcxb0gjh/fjk35yma2scamsbwsp/wcedsngouyffjjprycx4exb4b0xfs1i/wdqrwlwfoq2 +h9nhpax/wdoirqoe4brrrsakkkkacvdpinrs994hft1kp2a0wantly5ne5e4bnfmvii6+1+jtru osguhi+maagjecbhjvuyqlwacttypatabytxtanowvledqwodz2olji0jfyzi2+k3m/zfcf6jjrw taagveizdenjx/kuvs0rqfcda9quw9oqcqofyuo2bqnfgfbakpsti3dtz7cs6z8j7b5pbht390v2 mcervhyvxybstg7gylkjuccnqo7vzup6cttdpoqhyna3dgch1rufgvhnbuc9nhihvlydrcwh5sbw d7tlg21h1ypq1qe0z7gxxospyelenv4vsnmeuzddna6vo2iqcdzhgocdggfhvc9hciz5bcws9vgo pi9cvvjzuotevxxh6cvxwigmmyi4rng8k21vvdork9ppr7xqxsk9jzniphoadstgyd5li9m16sdc tysskqb96oahosu0z+ukccghvkn0dnzhoz6hmvavhbrjnsrrspgyyssx59d1/x+denxns9pkubjb xmup+hwqntfgfkxpytn5l89m/wdr4rdao5pkx9f0uuvbiuuuuaffffadzdijz6a1k+fv+ry07he3 q/mk1lg4tpt6if5vm+gbjwxpg/6do/8a0eu1sbb0pdmj2sjoiix/46kt1xsrjt7yeks/yfwkhuau uuugciiigbkvet/7pr5xvjm7mycneefxmvqibmct/dp8q+vbozu5b/tn+dndroahyce481xkj0z6 12fvefboontwzoskxwa8yjgtw3bgkg1jud2ddnwreiq7ennwo920lnihamxl8vqvysp5vsoskble ua7rxu6p19ajju8crky29aolgsfh9ar0x9klb468ujmsacdfaimlxtdh75p5jbjp4uf1zghk80wa rbc5jfvpux2q4ze1vzck9khloozxgj+lzzx4yp5rxztiqmy4bnqy0cd4i04ohmudot7vgavn9m1s 1l3eexmr5hsrxof3aslvirdik1555rgvchx8r4rqovoc1zdt6rrt0asohanoqrpr+bpdpitktchz +aq1vvc5wooopaffffaffuh2abdp/dhc/oaq6amzw/p6hqlemf8ajoqxwg26jft6w8h/8dnlpq26 vad0hqfoka2yfi3glaieid+vsu2myjuegfopmaooooakkkkagsjmlj/znflf8nl6jmntehh619un oa+x9cqjr96ingxdgcf7rqknhtawabzbyqak3rdelyejqtzxsfst+3++bisjlu647f2iccvbjbpt qkqxsgonwqyjvuzzmkknstqp6u8ajjiq8d0p4px0q1e6k5nvym4aeopebu+0ezpprc47+tkwxiwh gbuzu+lwsmbjtsekbk0wufyqyzmope46vjjoisrmqbxsetk8d1ns4ljiyryws+4gm+ttvqlvlk3j eoozvdp4zwtg4nrkjszsl5bbrgtrjvdukpvk16bin24vwoq5/tirt/e4rajuzvtj6m8pujpdunmo hto//qrwlwdoedw3h7t4w+8lugp5vo1rldnkffffiaooooazfelbpdept6wsn/ojq1ydbywd0rf5 vr8tnhhbvp8ar1kh/jprrthi2jhoop9ajbwbs0uugciiigaooooak+apf0p2fxdqcygalhsfic19 jztrw8rkmduqdwy4fedfeec3fxe1zbsjjhchwyh/i6h+vndrc0xnljeog2g81fqotlzqyrnmnf2r qiqr2agyyfxwjdprnunmlg7nokze51a20k0es3rzmubsp6tztn1bvljzvckoxu1q3wowumlssnti eqqis3upen/bkqswjejfym9cu0+yja7sslxrfrpire/jrc0zxxjp8rxyoeuawbg5unxetnrhiy1y wcc4rvtoismiuweq9qunyqmb7ha2mpgsmh19atnmqrycvy9g7xyijmyaodxskodoanmudvhxuqgl hokzrvuplbotjr16vbnqkhz+nyf64+bh3r3qxkxsjc5/vneveuwsmjgftkvmqnbvdx5mce/axwvn vlv5mijubmoog9se1yx9ttmykjggtxz0qk21ohnjpvk/9g6udu3zop7/adspdx2mza3cmud19a0d qn/p7r/bfze+cp6g/jwnlfb6lbhtooeqcc0oxrofhqh9tcjdwlkhygfcjfzvqxjckzqzmlwe/xn9 k6jsry26yr5yopa7irngdsy5/gn7qu5cpbmrhupvjx/krpl3rkvfhpxuuiiqbgayfoobymiiqoyk kkkaciiigdi8uc+gnrhrcr+ffacpes/ss3xnz4eux6hr+bavpxfch0p9ah0uuugciiigaooooaxf ffmbrrpgxo6l58duo9ej+jikgqwrr9046fwvovldkvyzbgcdxhxjntv0zxrgownmblhsaa3nyv3w jujxmqb9kvotgjeelohp7pcnnx1rxabfyy3n0cg9l/xmfte6fl7e3vwnrok22sxrsrtkk6jbhu4r enqrfexip62eechfgbvj2b2zlehnlj0eozgrno/bigab6zpvtv7oma9+0dzec/mf6mpet+k3rrjg d2fe+xyifhxvrlxciu2xkgjvubsha6mtq3kpl5ppwaqfzvy3bcvmvupu5pkib61kxulyxerydg9t wjoed3z1qnqn/tu9r7fgxeunvlazw7isgizwc5yk5j/hezm1afzopjdzd7ucfsu++zrumemaqzaz discfka1vyh2buy3iko3ulnlzfnkaabexqhsbdoybgf4fwtg6ciscfhhc0gikd1rjtlrsssiokyv momzrg0sfvef/ewo0embnit9imnfzfhjt31lxvdqmcbse9gp8iqpakzsmmet6isdgts3xz3q/tio lhhsjbhuaafpru5hqwooooeffffagt4l50ouf3pih+ci1px8otzfit/keqpw5tx/5fstvpuin0ad rrrsakkkkaciiigaryz4s2225sroafmnvtup/wbdep1yxxd0ptr8npjguzly+yomnhenhcadmctb oggq9iorugbgvgatkzbki55wbw7b0hrwutgdcduaclu4gak2yqofsnz+vwsb1oudq1f4zve4ukz5 wktquar6h+7tmi6mkww5mh90hhoavq5k8daz4f2jjxnnbvlgvl/memuki27fkdtjmoocs238qvxi dkgjfz6muuvi9cvd3huaczcagggjmpsuqd696qkotuicmqcoetvlhbtinx2hfurjgeldgkzzcd/g tr4a2wle+1futnkvu+w61hxtevbyyhsp/lxfeelm2phexjzsrsnmmd6tzwllzsyrvsxuuuuvzzbr rrqauuuuazpiezsib63lv/6mu1qr0fzmujnrbd/p7h/9dfas9bt6aoooopaffffabrrrqau10wsn kczvhgj1foooa8lutmtsnsulsmfikhk/q8ircpafa3js1ewow3cjhmrgn3fzur+qdkmojqpu6lcy g8ejmrqjokoxe7qurnbfqwyzckdvdun0krxg4q08gudapypuptsbgpdts7f3uqir2ydat2l85qjk crgc46h6uk1pfi28occ1chguicvhtvvkiskine3c5vbcfgtyzhgcu+2k8/acbub5xtrmae7wueus crfjaxundtvjwiwywkq4frrsjhuvk53youijc9j0zvg5ixxyferbgcnpwquvjjpmpcwolhwllbun ch5pcoyg816uqhfcqmadafcp4pizlds+gcj/ad+fdzw8dinlvd5brrrtmgooooakkkkamzwrllnf w6j/aeyf6vpl0fzur/6zth63y/8aqhnaq6u+gc0uuugciiigaooooakkkkaoc8z23m6vhmbkxsd8 jxxj23myr0buluxmnz25h30ih17v5vdmnijcehbps1rvszfhgdmpmfan3aqyn8wxxt5wjg0dkzzo qsymwtg8cmk449avvcasazlnumhkwihbpq0irn7goucawoktryi6/k6kdjrxiy3n/ctxgqvyzowg +5wcpo3fo7nfst3z1jvg5whut6a1aw25bhnc19nv0xzanrd3q1b6vcarhcqst/eftd9ronby1myy 7qskv275jgeaoqyirclsv1q1c2gx2pee0vc1rkobvuvubzvj+tqfzrvcuzxtjhp8uhx+arfqjo9t 9k0qclgg27m+p5q9xqcknd3ciiigkkkkkaciiigdn1tm400f9pwf/ib1ojoko6im3wne05p/ajde rw9kfqbakkkqbrrrqauuuuafjzn2paotabxn2swxtdznxaqrnuu+xr0gub8v3wpeyhpqrl/wgud1 kymoo1p3zy5qbgypfflni4rjnqp43dv7vbcqjkuckb88cnxi9klq7x0qblldlcry54owefgwyzk9 6smhqexdodto47j0wnx0odxukdrgra7fzpi06vmtjgktc7eemajfowaoxudynnoxjxmle4mozirz uun232zuoiczbybvootqe4rrfdumi2t/tug/eyjjpzauc1m5ysjc6ciiittlciiigaooooakkkka kd2m3lmprmb/amdx/wryqrcc39t/uuf/aegrdn7affffiaooooakkkkaciiigarzbxzgjpetwa3z +wphtxxfajqvppvm91etlfegjyt19h715hcagnav59xgdfzpjdqfuuaap8adtgy6fxd7sfcu08mo ckubuokzrqflbz4ryoohenqxiyjip4dxwb1n9jqkqetcfkarrmmjnsk5aqlfjlgc9kf5ypjqckxb 57vzminvtqrjnm3ttzghalklgm+lvzjubnsxpisors7gaofxqn5qbiq5lyepxpizyat51a5jigk9 nubvahqcvk7f575g5ii/ekd/agea9osruk+sobqbg0cqblpsa2gvduc9v62j6kkkoyciiigaoooo akkkkakk/wdyerb/ak5yfzwrdu5v+qpa/wdxkt+avcpsaooopafffbootabrvduna03s4zje3kuk j+83p5vxup/frrrvilnfldn/e+4v60aeg1la54h0/wap2txn7mfa+6g5zj6av5fqnxc1i7dlzxq2 qhiybub8zxcx+p3epxlt3c8k0rhlnoaqwhr+j/f934qvc0n7q3jz5uqpqep967vwbzw3xhucej5w bofq5ryg34a4ofwvwfhzc+bpbrhrhir+fapac2zenszbrzfkop4t2nymowtrmz4b8wgsvrxpstrf eqbjfb9d6vzgo6vjbmdwjxswrcubbhrcd9gchdd7j1ww6rv2k9vlx0pbnrxuleygsmlwrpy0tymq gjhnrcuxsi5ctjoc1j9tuz54rgdieqspxqxmyhukeuakdrn2hzh6ia+jt+lp0qgwrw4gaaqnk2fx a9rromsm6e4ybqqkthnqc/wpldtjzx2xxlj7v0ttokvuoe4adxyf7cmoowwnnrmwzttbyzzykq0q lvhoo9ufafjwltj/agnqlbyfmihlj+7k/dptw1rcwt9pujjxsqkv4tmxehbnk108qsscspczufu6 sgumpbbgqr3pa8v8gfemxshhyapulsxwsnvox/uv69p+q2oq26z2vzhmjdpynkfuvm1yc5rrrsak kkkaciiigcln/wahi1h/aexk/wdqkq7vgx/knw//afwf/wbcwr1n7idlvvewkabn7xqeezhufwt+ vcvf/fbq7bctss1yw6fvwp1rw5nd2lmzn6k0wjceovsquqptl/4vajp8tjzw24p8tnea5m/8ceib /ifuzvu5yqfkp0rnetgqfskcsfwaonwquufys5vjpm3ssu7tysze5qqzzoaefiosprmmnwb9kagf j06uwelsuh5yfuek1dtonnzmbn0ncvwvyljx5ct97fd/8nptlxcqhua1cgfyawgfcv2pggxbrgu5 +emj29a0sipzopucpziklqq6gg9jufuflfwh0row5rzmoahtdpdyvda5u4sezigth4v6m3ire1tt ll/er4d/am6zlc+qny1o5wuukr/cxfqjtg6fuk6gwmxuvyyi9qs2elzxbdclu/vgsuvt6g/mkjny nj3ofalmemk6bs/c3ss5+veyd66kx0uczufvy/dj1q6ek0jts3mzvg9irhbq20eyjfud0fvrk4wr krvm3b5u1uji4txxf+xyibsq0p/svnjezuqucdji7d3rqvf10lnwmqhkrjz+peubm7xxypgxaddr j1hb/okohpuofdpzz+gqzaapd6fkjloese5zlwxvygk8ikpldtj61iz0dr/ivrflss9rluppkja2 prxf6v8tpd+pbvlna0lp8mw4z9elfp5xkyxzqmg0mkb9wwxuf1gjleaovd0kmcklr5esdy1ds5a9 netqn0viaa7ltfi1rnoat7ffdjxyrtp6unelnt9fcfpnxy0g82rdcw0c/wb5dy/mk7cy1bt9rjd2 d5dmcmjy4j/kp5wo42tnxir6w7/+hlv+s6q/8t+l2tm/9cfand2qhyuykal+lmgeftpviqzpiyvy 0jjxxkg9citre3i9hzegyrutkscqcd/rvnkhptj04fmbhqb+okdgiui4uqqsazluzhgoipr7vkiy xockdh6vyjiwdxu9ookvrhchgtgraqqzdfpurhaoftp1qtgacnbbphuelhjj9kq1hxgqdscdvit3 wzdfzdbtpcsf34yn8qwvdbubx3q/ayevnhioara00b9a2z5aq7uafzgmzcazilhrkdz/crmpzsek hb29ahruowpexxb0nqmadf8aalohbjj/aifqe1efap8tdvvira7lzm8bet+tdp438cx6vhjqwnqf uszdb/hj0968ckpdmy3bbu4intsxnw2fxg1s2lbu4obtf9oyp5ivtfc3j3sdccwbvs1z08tzgh6g vajhhutjfi8bh42iyhgg0rh0pramcoka54rhph3r2q6jpjgproyoyfjug/i9j6/wu0kbiq5reuj5 rj1ob7naxe7fdjjl/kk02hy1znjof7n4aumhwtcfmaodyoewssaswrsl2lh61vnj3fmm/h0p8rdn npuo7or17nhegkgi3nzxuqmjaipwrukqychgentumszjwfvy/olyyzbhf14njtj56czpacxwsmin zg3g5agbq4j2nax/knezbwektdkrwpbfo+8eud6ikbftii4xusf1cwsnmqtpgw6mjeeuu0kpp4a0 zbpuflsso5678k9a1dv768w/uxn8iffjl8kak55/cvu68d+dqa1hux/0yj/ma9iqzdplzbhu8t3p rk85hhxingkb744xqrymda2igskdbuiquwbg0enpu+7enzebw9ak2lqwk/e6e0bgqqqqnzkipqtu oaonsnkv7zldwfpvs24qmr6jtterbcoemt3ppi2hr0p5vmq/iwjix+h3pjdupwe/faec8yh3geku ajgtjafvqv7w5wmhqksyplzb+ue1cge2eep/txh2zcjbcy/ecvusaqrxifdu4euggpvhir/wuwpf s9xozbggqa8e+iatk8zxiwyoqkvbc9n2ofxzxqvjdxepdmktyo2liufir/thv+hwva5jwuz2llys 7ssze8k1enquhjjlx0rsvafgt/ef19ougywur+y/3z6cuo+rqcrmvafhj4ht77srpm1i7i3hqdg9 fx60lcgdnhbw2scwtvgsckdafa4aqqchyfwj/luu0zokaqkoqw85fch8sbrza2lqpgxcur7dj+td +v3jg814/wcpro3fir4e0cqn49t/adoa5g5wscaj14qvgxpopapjutgzzxupgmltnootpqimrguh bhu0mokbjgk1fuyyxaqdmuqeb5hrqiqpe4ajy4xxj+tnvqjfxniru0niydb71e8zq5bypwlydxrl 0weetimfenipyjfxk80hiyaabdsh+vpslsrtlawpttup4i9kdgprpg6ul/vcf+euf82r1+vjphb/ x/6t15sl+bv63wu9ykfmba9c8+lcdsb1uddstnhhgb0pfrgybjkjrmtyrjygcdbhrz1qvjc8jdfs jpnvtao2hes3qklombiniahhfjibitg7/m49qmywuahc9do/nutbskjihpnrunvm5wcdoe1mqnlt t2scxxxnigoamhgso46uhqb82akuk4bibk56mgzgqwbb7+nenr5ezagvh50wk4jogi6guswobjr1 5pipq/hnd5kvbbjhcub+ld1q2p2+k6dne3lhyolyse/ok8t8bxatveqxg8sov6+2at4sa5lvg0dw wv8arn569lh8/wbkieiuve4zxn4luveeptczhbgoi485ccshw4ykgb4qdaplihwskwxksmgwk2fd wrtarqcn5cxbjbopudxweyknzvq3uqurtt1b7h0/p1/dqvhddwnljvdd/cra75rzr4v6t5tjcabi 3zxhegj7hrxog+9wlreloe4mdmcgac14fqd41/qt7ennmkhyypavw/ftx9k0w6lbwflkj6nivghb wppnj07uitkmuhcqeny05qam/gb0xuz+yklefanehtk4oeo2qrhrz1j9azewhmv0ocpztmp7syzn hq0kybw35/1oa0cxxq8wajj3ung/soziykbzgr2yetnbuaftjb4njiznkm2vbwpsmbwkdlfi+73g otssn33qonorvsri0hapapxfxflnhkddxsqeas3ha59qku7o8dso9nwwy9vxpeosqsam9aaptfhc o+36sv/urc/i1es15r8ilxfaueo2rdi/4hxq9zt3kr84voms9p7ivb64t6/4vxfttqqgsazd8h/n ka+gl8oaqn3lgnp93ip39haft2+u2308xsfzqvabzhz59kvuc7tou1aomgfud6uxzmpwba5aph+q p+ht+lfq39g6dnpktn18xv8agmv4d01/vquf+2jf40e0cx87qziavkzbskcxnph4ujmqsucmm/7b r6fbw1pbefoxopwvv8ay/hxsjgbabye2zw/xo9ofj5/+0q4jyhqbgg560efcfuivqb2zg179/wai lpgcpifnp/lvu/xvtb4n0uhit3deokbp86ftbcp4a80lf8teapqc96fhjegyjeprlule+hwdoxjj tisetlic1gfa+hmmgztgc4wothta5txrrr6kx1yyupmx5zf3c9iaw/goonvffn9cbtyeyuq5ynq8 dh5v76fawg8ewuwr0ygqi/d3w+xjnhdk8n92kupkq1ofnyxjpu0y4zx0yfhz4fip+gqcjh3kib4a ehjn/qiufqef1qdb3pngr5jpapv4h417+fhj4e7wmft1b/gow+fmgef8emmdtk/+npqdy/wfqf8a zvim2lphjj5tz9d0/xfe9rnotxjd4v6kknmrxyiwoqvmyyptzwkvhb42zhqn+vslt/6mq5tbgd8s 7or6xbb7gglkzgnhagf8k8wuhih2k/ljpfewah8o4tt2m6v76upnbuum4z9rvbvhpysoh2q8h/br t/7ltukjo8g2zzxzjpfsxqthgdgrzg16ofhfaahbfxgz/tif/zajpwiqfc1g5b7zvdrzilhlrkcw z17ikxo4acd0r08/coqg/wde0lzkhmjf8ahpwkvva26qcf8aatwf/zqfmhwppy3mkf6leolmufv2 yywhugvqd8j9sxo3uoj/anscp/zqjhwp1dsx+3w7e9zg3+nhmgseesjtbhaoaku4bbyk7ut4u6yr xdwpof7jvefhzrqni4tg+u8f+y0xcxxtc9evriosbx9r3rut8mfeabg6yphte/8a8tuj+gfiftkl zn281v8a4mgdo/hefeopycdlrrk98bj/afr0/ev94fnxl3h74wcw2kk1qeakcv8aitrngbcd+ouc 1s/8ks0fnf/qy+k4/wakzlzsphduuuvmmkkkkaciiigaooooakkkkackjapakaciiigaooooakkk rrtgmdyaafooooakkkkaciiigaooooakkkkaciiigaooooa//9kaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa==" />
but when i'm want display in php it's don't working. example http://www.freeformatter.com/base64-encoder.html decoding image. i've tried methods
`
$data = base64_decode($query); $im = imagecreatefromstring($data); if ($im !== false) { header('content-type: image/jpeg'); imagepng($im); imagedestroy($im); } else { echo 'an error occurred.'; }
or
header("content-type: image/jpeg"); echo '<img src="data:image/jpeg;base64,'.$query.'" />';
or
$imagedata=base64_decode($query); $length = strlen($imagedata); header('last-modified: '.date('r')); header('accept-ranges: bytes'); header('content-length: '.$length); header('content-type: image/jpeg'); print($imagedata);
and no 1 of them working correctly.
many in advance ideas.
the variable $query not correct, $query $_post or $_get, base_64 data may has "=" in end, when data send server, "=" encoded.
Comments
Post a Comment