how can i save an image path to the mysql. i've build an mobile aplication using J2ME programming and use the PHPConnection for conenecting the application with the server. thanks for advice:)
Saving image paths into mysql from j2me using phpconnection
Collapse
X
-
Tags: None
-
how can i execute the sql? can u give me the example?:) i build the aplication in j2me.so the image was saved in byte[], because the image is captured from the camera. so how can i save the binary into the image path?please help me.thankyou so much:)Comment
-
oww...sorry:( im too desperate.hehe where is the thread?give me the link and i'll wait ur advice there:) thankyou ^-^Comment
-
by the way, i want to give u the output when i execute the program.i built it from j2me and then send it to mySQL with PHPConnection. i was installed my application and succeed sent it from my phone (blackberry) to the server. the data was inserted to the database. but when i see the result from webpage, there are an alien language:p
like this:
‰PNG ��� IHDR���«���Õ� ��ðš���PLTEX ŸáÿÿÿžÇíÔæ÷{³çê óû4ŠÚ»ØóPûí��¾IDATx µÁBj DÁ>Iw²ÿÏu øA*¿.üñ»º-w7@üª–diÔü>ñ«¤ ôZÕü6ñ›VË‹óÛÄo ²Â‹LñÛÄoª /¢å·‰ßÔò–íZkùmâW EckFj~øevfùâ ÷•dþ€ø}–Ì¿¯$ó Äïkùâ÷*Æüñû V2@ü¾‰? ~_iÌ¿"i—+œ¬§ø âç²¶T½–XIüñC kI®‡µåÕŒùâºW ruø_{Î~xVoÉÚp ¥åƒÄ¯OÉú°á– Våuø]ⱺv;ÜÒõŒ:ü& ñ”5¤Ëå —Z '=òHÕá·ˆ§Äœ¤»ìJ ø_—:š¥Ko5¿A<¥ Í›tÙÞðF²53ÍI»tØ ðcâ)íp©moóbm‹ Ö’;üŒxÊ:\ËÚ Þ /µ¬ÆüŒxJÞIÙÚw e¥Úð<ñ”v¸'mÉiîZ ÉÅÓÄSÚád]\]²+Ü‘•Æá9â)kNJZÞ ë.Ë®u[¹;¶r5dKã ¯Ü<%tqHi«*\ª åâ9/V3ËÛ¼è↋gˆ¯è W¢p–9˜;¬ål›Zž! >ÕkŠK-^ÔŠ{¬åd‹Zž!>S ’65Í…(œ*f9¬ ¹áââ55áŸx9[IÍV€*nØ´â¬F2´ <晇V`ŠωÌÉŽÓ\RqÖ'U :¼ñÌoVášÌ3ÄG¢ å°ãp͆PÖ‰%Ycyá fÞ¬Ã5™gˆ÷ºÃ‹¨8 XÜ*׸“VÈn•ª4®† nþ‰š+QññNIòr²3 -q’ð?Qµ9TqHtif —K™âšŠgˆkåU'¥%Ý RZâ9¼qWTéõx]%5‡’Æþ×Z®©x†¸Ð ‰£â`·%5'͵¨x‚xc ÖRjˆf¦zCdi´< Û’Ü@kØZæÄŵ•x ‚x±¥iˆUj`Fåp²%y «¹/Ð’\5RjœR±Ó@¦¹ !óq«º´Ò¨l™Tx ‘æ¾î’+ôÚ’*mZV± ¢e U\‹ÄÄaåÊlÍì6)órUiTÝœ´% ͉ÖZh¥¦8Ø\겚' ºÆá¤Fe©DZî‹*Õ Íÿ²å™²f¦ ²¼dþÙÒ¨y†Xi9‹f \i`KjîJ({w ïìh³3ã¥FáÄÅ›öŒ; <áÒ8Ü“òbóÀzñÌ Ti9‰–U²Â³Ôjq ©ª¬q¹¸£½Uh/ï턃§7‡Èv–UóM â /¶8Ù²¶ÃCe¥å¤”Uó Mâ–+œTq–¬Ýá.7 ‡R8iU™ïϰ·íjy “Þ’]Þs*⬧VÍ7‰gX-U\ê-[U›pÅô4/T*ðMâ;Í¡Ë6·²ÖH .XÀNs¶®hù&ñ«9kï…^ÍòsVÀã†Ò r«¦¼µŒ¸+„wR’ÓV ãQø¹”,ÉÛ¥ ·¤å¤gßÑÍ(¬¤¿ b«zm¹ìN¸”g™B|O z+*æ#i{]|Y±Uá‚Æv™Bü‰H ÛÛåæ{.ô8½^Ø)ÄŸ pqèn;<-Öqã)Ä3Ò½µ.WíòÞ š“öviÃs<#NRØ‹ø‚ œuÒ{ÒÖ‰ÏdÞ« åE9m-O©ÚQ5°¥ñ¹¶#i4 I»›ðÂá-¯Ö˪x$½»´¥@l@ |në°µU½¤¹TæÛ ÎÚKKÍ]kI¶*tm¸Ã†¨ñ9/X5ך*¶wám(5ïµ FÍ!–¥QsÇ™ƒø\ QqÍ•m«9)5¥æUx •ZjÔÜc…ƒøÜšØ\+ iáìæPåæFk¹²3 ï”–ñ9ôöÎp#–› CJÅ¡\Y57¬íîð¿-9ÜÚp&>çâEBݽµå ²¤‘Å;-'« Ð*ÊáÚZ’kù§Ÿ+ CïZ–u6’|¨ÚN¸# /‡’9±SZ®¥·»Ìÿâi Ÿ¬,Wµ·Ö»Û|ª¤ Ð2‡VÑ.nµ¦ùŸU<$¾ $Ý|ÛÊâ °jZŵHÍ?vóø;±Õ Àʬ°^.¥fùgÇ<&þ PZj`UT°j.”Ì?= ‰Ÿéð‘•8´(ºø' 2j†ˆ‰·¶y§y•q ¥�.Ò»ü¯e µœeÕ<&þÙlÔ|G+±Ã •yÕR Z`eIã ¯ìly–«å1ñ¦43ï Vuásq‹k%yµ£& 6P3µÝ%‡ÖèÀ¡ZÅcâÕŽ\3*ëUuøDï Ê\H—Ü+‡5†ÒRòr ˆ^tíÆæ°³ â1ñJÓÙÕ‘9ÉjV* o󢦬p)µÀÚ͸£ ð1ñP¼áZìœHÕ@Æ-seª9´Ä2«ð1ñ= ·"sð8ž‘jcÅj.¥ª 9©©Ìl¹lË'Å=â;Ön ÞËJ+ÃjKÛž–¸RTsˆãY'‰¿¶æ°D[³ 2.526582 1.610548 17-01--2012 12:16:30
please help meComment
-
How and where I can use the <img> tag?I don't know :( em,PHPConnectio n. Seems like a connector between J2ME and mySQL.its a web server.like servlet etc.:) but using PHP language.do u have a source code about my problem?help me:(Comment
-
Comment