Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

PHP exif ½éÉÜ

 // PHP exif
// --
//¡¡wikipedia ½éÉÜ£º
//¡¡EXIF£¨Exchangeable image file format£©Êǿɽ»»»Í¼ÏñÎļþµÄËõд£¬ÊÇרÃÅΪÊýÂëÏà»úµÄÕÕÆ¬É趨µÄ£¬¿ÉÒԼǼÊýÂëÕÕÆ¬µÄÊôÐÔÐÅÏ¢ºÍÅÄÉãÊý¾Ý¡£
//¡¡EXIF¿ÉÒÔ¸½¼ÓÓÚJPEG¡¢TIFF¡¢RIFFµÈÎļþÖ®ÖУ¬ÎªÆäÔö¼ÓÓйØÊýÂëÏà»úÅÄÉãÐÅÏ¢µÄÄÚÈݺÍË÷Òýͼ»òͼÏñ´¦ÀíÈí¼þµÄ°æ±¾ÐÅÏ¢¡£
// --
// php ÖÐ exif ¿ÉÒÔ´¦ÀíͼƬµÄÔªÊý¾Ý¡£ÀýÈ磺¿ÉÒÔ¶ÁÈ¡ÊýÂëÏà»úÕÕµ½µÄÕÕÆ¬µÄÔªÊý¾Ý¡£
// With the exif extension you are able to work with image meta data.
// For example, you may use exif functions to read meta data of pictures taken from digital cameras
// by working with information stored in the headers of the JPEG and TIFF images.
//
// Windows Óû§Ê¹ÓøÃÀ©Õ¹±ØÐëÆôÓà mbstring À©Õ¹£¬²¢ÇÒ mbstring À©Õ¹±ØÐëÔÚ exif ֮ǰ¼ÓÔÚ¡£
// Windows users must enable both the php_mbstring.dll and php_exif.dll DLL's in php.ini.
// The php_mbstring.dll DLL must be loaded before the php_exif.dll DLL so adjust your php.ini accordingly.
// --
//
// º¯Êý
exif_imagetype()
// 1/1
// »ñȡͼƬµÄÀ©Õ¹£¬·µ»ØÒ»¸öÕûÊý£¬¶ÔÓ¦ÓÚ exif Öеij£Á¿
exif_read_data()
// 1/4
// Reads the EXIF headers from JPEG or TIFF, ·µ»ØÒ»Êý×é
// EXIF headers tend to be present in JPEG/TIFF images generated by digital cameras,
// but unfortunately each digital camera maker has a different idea of how to actually tag their images,
// so you can't always rely on a specific Exif header being present.
exif_tagname()
// 1/1
exif_thumbnail()
// 1/4
// Retrieve the embedded thumbnail of a TIFF or JPEG image
read_exif_data()
// alias of exif_read_data() 


Ïà¹ØÎĵµ£º

php×ܽᣨ3£©

ÆÕͨË÷Òý ¹Ø×¢Õâ¸öÁРΨһË÷Òý Ö÷¼ü ¶àÁÐË÷Òý ¹Ø×¢¶à¸öÁР  Àý£º¶àÁÐË÷Òý F1   F2   F3  µ¥²éF2»òF3Ë÷ÒýÎÞЧ Ë÷ÒýÊÇΪÁ˼ӿì¼ìË÷ Êý¾Ý¿â µÚÒ»·¶Ê½£º  Ò»¸ö±íÖеÄÁÐÓ¦¸ÃÊDz»¿ÉÔٷֵģ¬È·±£ÁеÄÔ­×ÓÐÔ µÚ¶þ·¶Ê½£º  Ö»ÓÐÖ÷¼ü²ÅÄܱíÏÖÊý¾ÝÌØÕ÷£¬¶ø·ÇÖ÷¼üÁл¥²»¸ÉÉæ£¬È·±£Ê ......

PHP×Ô¶¯×ª»»×ªÒå×Ö·û

ÔÚphp.iniÎļþÖÐmagic_quotes_gpc = on   ---- Ò»°ãÇé¿öÏÂÊÇon£¬ÅÂÓû§Íü¼ÇתÒåÄ³Ð©ÌØÊâ×Ö·û¡£
Òò´Ë£¬ÒªÅжϵ±Ç°phpµÄÅäÖÃҪȡµÃÎÒÃÇÏëÒªµÄÄÚÈÝ¡£
$gpc=get_magic_quotes_gpc();     ----·µ»Ø1,magic_quotes_gpc = on£¬0Ϊoff
if ($gpc==1){
     $json=s ......

¹ãÖÝÖÐî£phpÅàѵ¿Î³Ì

    ÖÐî£Ð¯¶àÄêIt¸ß¶ËÅàѵ¾­Ñ飬¼¯ºÏÁËÖÚ¶à¹úÄڸ߼¶³ÌÐòÈ˲ţ¬ÍƳö½ðÅÆphpÅàѵ¿Î³ÌÌåϵ£¬ÒÔphp³ÌÐòÉè¼ÆÎªÖ÷Ïߣ¬Í¬Ê±ÔöÉèÁËlinuxϵͳ¹ÜÀí£¬mysqlÊý¾Ý¿âϵͳӦÓã¬javascript¼¼Êõ¸ß¼¶Ó¦Óã¬Ajax¼¼Êõ¸ß¼¶Ó¦Óõȼ¼ÊõÀà¿Î³Ì£¬Ê¹ÄúÔÚÆðµã¾ÍÓëÊÀ½ç×îÖ÷Á÷¼¼Êõ½Ó¹ì¡£ÎªÁËÅàÑøÑ§Ô±µÄʵս¿ª·¢¼¼ÄÜ£¬ÖÐî£ÌرðÔÚÅàѵ ......

PHP µ÷ÊÔÖ¸ÄÏ


Ò»¡¢Ç°Ìá
       ÎÒÃÇÐèÒªÒ»¸ö Web ·þÎñÆ÷À´½âÎöÓà PHP ´´½¨µÄÒ³Ãæ²¢°ÑËüÃÇÏÔʾµ½ä¯ÀÀÆ÷¡£±¾ÎÄÖÐʹÓõÄÊÇ Apache2¡£µ«ÊÇ£¬ÈκΠWeb ·þÎñÆ÷¶¼¿ÉÒÔÂú×ãÒªÇó¡£
       ÒªÀûÓñ¾ÎÄÖнéÉܵÄһЩµ÷ÊÔ¼¼Êõ£¬ÐèÒª°²×° Eclipse V3.1.1 ºÍ²å¼þ PHPEclipse V ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ