I wil start with one example suppose my website is example.com my image name is dp.jpg the image dp.jpg is on the folder images_uploaded/images so i can access the image through http://www.example.com/images_uploaded/images/dp.jpg Code (markup): so to insert that image i need to enter the following code <img src="http://www.example.com/images_uploaded/images/dp.jpg"> Code (markup): If we can create a php file called showimage.php and if we use <img src="http://www.example.com/showimage.php?(some random string)/images/dp.jpg"> Code (markup): then it should show the image http://www.example.com/images_uploaded/images/dp.jpg Code (markup): if some one copy the image location which is http://www.example.com/showimage.php?(some random string)/images/dp.jpg Code (markup): it should show only some error mesage or some thing but not the image so the users will not able to find the real directory name which the image contain so can some one develop a php file called showimage.php which works like i explaned above Thanks in advance
Hey, the script showimage.php is going to be very simple but if a user points her/his browser to http://www.example.com/showimage.php?(some random string)/images/dp.jpg they will still get the image...
when some one goes to that image location then he will see only some text like the below Œ›W[“,Â!]Y£\Å’Å’3øÊ²îcƲ$X„p–‘æ<wƒ¸ü+F+-–óÃÀ®¬ùÚáÂzqÛ8¬O¶Éo¨,ᣁ#2ŸCéï_ï>V}LlÑ~î8..ùK«žB/lûvªºtM>6avÊv¸ÃPON+Z÷H†Â9æ¶#lÀ2>rÊ»ôª6÷“ì…§QóŸÞlPX¯Oè*qmEò²îš*ÛÙ^Ÿ6a$Rǵ¸,6 ÃŽ~¾µ+ÃÚ[Opÿ�"M…Xð¤‚Äã¯@>•³Ž;•‘üÆÞÛâ€â€¦ÃªzþF«k¤G¦µ¤a·,Ĩt09ùÂëÿ�ë£iÉ!;E4m›¸õA-¾Èç±…™£a¸0>žÆ³µ¥‚ÞwÑbŒªŸVê*®•2ØFm£V‘O·¦pF=úÓ®ÅÊL²AlYU¹Ç¨8?ÂçB‡-Kt3JÊãµÃUd 1è‚0ÎÇp^r޼Âá‹(ÃæKK(‘?Ã’Ã ÂÅ“nm¹ÜO®sÇà *-:Â+»öŸbÜÉ) —ûªÄõö<ÿ�õÅmëÚ(Óîm'ÂÛ÷2 d{‚6}w:W~G Võg5j¼ŽÇ-uç±ÜdH¤,Ã&é·ÃÂ_°Ò·ÛC²ÌMb)¡GeVÃÀù‡Luþu½ý…e«ÉÑy…呚b: É9à ñÔ}+¤±ÓcŽ WO–o;s09SÆ9ցN36¼†ç-\]ãË’é²ÙY0}¢×pÛxÈÆãŒ} s²ê72Ã<ü½ëà ¶w+hXHÌÊ‹ch €…r!²‰îgˆ¦ÄˆnY�*Ëê Ư φÃäîyÅ©u«öŠŽÕa—s/'5ÃŽ1Ó¶3ÿ�ë«QM7Hó0˜öÆ$lª’Nzvýkž¸¶[]6µ’y-nËÂ:äqØ“úÕ»{'Ô4ÔŽÒt…% INYËœ0õÆ3ùâ€N éÃKB[ öf[™“••cxdä/¾µ(»hîÚîÃCFD ‘Û>ÜSîŒé A,Ž‹‰ ÃŒUr|À1žŸç5Ÿ¥Æ$Å H¢Â¼ç dž£Óð÷®yCVÃŽÅ¡-=ĆFi¢û<{W:“6â„¢pöÂåš5m¡À裟â€â€žÅ Ù[³§Î×-撋-H壖,={}E|Æ/.®¹§¹èS«4ã‘ÙaÙÖ4Fäƒ×#?JÆÔ¶‰Ül©’WÔÆü+Z{ˆ£´P¨ÛY6@b6ÂÃÇNqÃf]Â9%Fâ€Å¾b²‘Èÿ�?…y4“RÔëjèdòG»x…â€Ã‰<Ã6‚{çÛ©Â[m^]X.¢(Z2È®§$n^ùé×éY¶S£ZOiæ¶ "Aóp\LÓÃÃ>Õ;bxä…XmÛÔÂR;cÂÃŒWm:Ã’Â¥;ÞÖ9*Ã’ÂX´ÃT¶»ûN—¦Þ‰#7(‘•€,O8ÃúãéVu;hÃŒiµÂ|µpJƒ÷²~nܾ•暌ÖÅm-㥸Ž@¹Ã+xä{©n=a‚´°±óWÊ?‹®F?#^¬³dš²ÃòVY'}NÂ/žÿ�´†XãbHsÂëŽäúã8ÃQµì¨öÓÊUtçܪcÂÄ`}GÃ¥\£jÂk…;â„¢&Mß"’¶8ïšµ|MܱaØÆª¥QØzc¯n1Ã…g<Ù-âRËÂÃ’l±«kÂ#E<щ¯®?¿…`éâêIÜÌŠË!Yv�箘§Þ0@]䘞Xáâ€â€šzÂëO{˜ˆd·º•ãÂÅ’sÔc¯jókâ¥]jÂN–4¾¦²Ë4²²’0£9Ëgú*hà Zc9)+ϡ~&«jSÃ{k"¹Û"á¼Â¸ÃÃô'ó¨t«˜¶…*Ê¡•[©Éê;~5ÃÈù9–çG>¶4/m!·µˆ,ˆfâ„¢|¶Bß0äà zc×<×'s§1Y¥—ÊÂmv?7=8ôÂÂVóÈÕξrî`Ã…8ÃÓü9ükIópÀîB»sΙÃvà éÃKnÃŒ+%Õ…¤ìcÃ2¨ÛÂû’y 9ãµnÉGkn·-Žy¶xöäOãŠÎ†% )9•Ip–çŽNvçÓ‘ëZR¸K ±Â¤k´|) ×ÔqÜöõÃÖa©û8}PL“ÜI%«³4Àr‚@J•åêxÇýz‚Ê5³·.ñÇå±em²ËØdW“ŽxëSKkÑ5Îáæ)+!û¤`€2=IïùÕK¤T¹ÂáŠ&iFP;2°P:œ÷Ã<JßmLâ„¢Â3¡²2ÊcFy6¨¶ÇÃÚÓ {öªÒKfˆÂ·Â)VVR8ÃnsÔòGn‚¨Š!HØU’@ÿ�.Ù ö>˜ò©"¢ºY`•YsòÈ¿6Üžô=?:ÆuRø‰q¸ëg–WiËœ1fÜò@ý;}k¦ÑobÓ¢’ýNYa‘¡r|ÂUO~�Ièx¬5Òµà ûBV0̱ïmÛGû^ÇÔ€ MiI¨G Vf ðG-ÈéÓ¨®hbèÔNÒØR§xê]·ŸSÕgòm"yYZDÉ' ü08®ºÚ³°’ÖbÂPÃŒ02@ï|V‡t«ËywÂÂö˜›vÀÃvÆ’Å“9ÃŽÂuš…³ßÅ#ˆ‚Ãå‘$¬Ãœ’89ëýkå³±©RÉès=‘ÊÉ-ÕìóÅ ÂYW,ÇËÛƒéYp¢=ÔwrÊ|¸>fp¿+2ä®3øcÜ èt€/`h‰[rëˆ]Ôå°pÀ69\vÃ’k“‡N»·×þÀÃÃ¥H£÷Ã9VR8oC×8*NsÃ¥LÞâ€yŠ×Wj.ÙñQ±-³<1ç'·z½‰aK§Ã&ß›x;W¯åUnÂb·¾’ØÃ1²Œ»•‰þñìjýŽœÉc(yÈÂw*â€Ã†G#ÜWÖR§Ë¢=Å¡I%cWòÕšîâY7¯Ê¹%W=‡Ó¥[·´/§ÄÃ)XÃn?x€à à Ã*8çŠîVµ–W ¿Ó¿µ]Ñ-â-r²¼ÃPÃ¥rª>ðÆ>•²WE/=¬.Ââ€ÂˆpA8fç8ÃYÃ’o%’ìK4O â€`¿*Ÿ\çÂbê‘ý¾úI’TÚ[r…ÎÃúVÅ“Âö=>;‘* p„p[4-ÉÖ;ÂÔ#)®,n—hÅ Ec×è=ÿ�•E}Â¥ÃCu²Ìd2’¬Þfì}F8üªõó>cœ°’ì•d¹ O½C{zÃ’â„¢`rZþVrx<â¹ñ\®›¸ãi»¢µÛ´^U¼eÂÅ¡<ÂÇ'æã¯Ò¤œLþJÌßgRÃŒ± “Žy?ʤkiáfÚ®ª¸dÛ÷‡ùÿ�=êŒå#·ÊŸ,)fΊdŸÇ>õò÷Obù5Ô–Q$KpfM„ŽòN0x#½ZØynÃ~và 8ÉìEeK$¢(ï˜Â´ïÎNqÓ×�äÖž•åìk}Ê.BÂÊçå~£o±Ã§8;'p¯c"Y€Hvãî6ã!jÃD–ÃÞY¢Ú2�åHõý=êΛd®$dâ€ÂÂâ„¢Fyž+Xd’î]…SÃË*“‘Ç'éZE©JË¡3½®T†ÑUÚâ&wÃʽwJÓŒ¹ÎsYö³(•¢BÈp|ÄÎ0zcéŠÑP¡@+Û¡ÌÖ§‡Y%'aø¶r{Ãà )�ð=)qÀëùÑŒç8ÂÃŒ 쌀6rG^hc‡ ÔÃŒŒÓJ�Ø=úc½P\kÅ’ÂÄâ“=³ô¤dqŒÓIÙåç#�Ãö¸ãµ&1ßà NráHrçÂÃ’ÂËqÆxÂk·&Ö(‚æE|Ø9ç‘ÇjηCç/ÂlÜ" F‰ÆŽ½+Ÿ¯FKÈÒƒjhÌ™ÿ�Ã|¶]ÂÃ07à œdã?‰¬›é-$ºžDFĨª3–\à dîúÖŽ –Ãâ„¢ÂüÃ<y÷ëúó·QåÃó+•äóÂʾ6Å gÕB «ÂÅ $Ó‘Hddm¯É ë×>ÇŽq×=±WÓæådœ…€�(à c°¦±ãÕ$2%¶DÒ–ÃÃŒO<äwã5=±š»á]ZU`±öÎÛ#5«„¬Û)×ÚP··E1…ÂqûÂÃ+ß&¹[Ø–æcöhÆ’@Âó2nÈIþ•µçÉ«Yɧ$“K+prW®}³Î;`V|ðKcj ü¾YÜ`«®Fzu�’}xÂ¥ArîõnÞðë{8’Éf]û*±ä‘ø}O5^[x£†FebÃî°Ø*r3ù*²£Ãînm[÷q2žxÜx8�t=³ÃM½†»œ<ñ˜‰à (çåþŸ…h¯Ã«µ‹>xã²iæ ¹v¶å`r¤°$ps·ô®ºêöÃ4aQ†Æw«Û§_¸Â§Ëa¤Ks’ZIänËÃgß'>ØÂxõ©*.Õeù¡ Ó¸Ãúu>õèÃ(uf§=Â;êîs»z ½‹ÓbbU[̈–mÇ¿SÅ’{ž+¥ð¾«ý£(¼±È*ýÞcÃ>ÕÆéúÃq©t¾|ªJ�¥•€å†}GZMU·…à I–6’+‰"ùG!wÂqÉÇã]µòšr‡*Ãu°Ãåå†ç¥\hŽn"“™X°w!°¹Žù5±i4Ò€°B®Òìç·çÃq÷:ÔÃâ¹–ê$ÂÕ6–UVÀŸ\ýk·†YXy¡YX…vWËbB Code (markup): i saw this type in some capcha so i am sure some one can make it
The thing is, the script you are talking about is not sending JPEG headers to the browser so the browser shows the image as a string of text. This is a big defect i that script. To make it work on all the browsers and be valid you must send JPEG/GIF/PNG etc. headers and unfortunately the browser WILL display the image...
yes i need that so the random string once loaded cannot be re used if i blocked right click and drag no one can save it and also users cant use the link from view source to save the image so it is 99% protected the only way is print screen but they will not get the full resolution so please some one code it
not protected 99% you can reload page(download html code) and will get new link not used and download the image
when someone use the image code direct he will only get a page with some codes like this Œ›W[“,Â!]Y£\Å’Å’3øÊ²îcƲ$X„p–‘æ<wƒ¸ü+F+-–óÃÀ®¬ùÚáÂzqÛ8¬O¶Éo¨,ᣁ#2ŸCéï_ï>V}LlÑ~î8..ùK«žB/lûvªºtM>6avÊv¸ÃPON+Z÷H†Â9æ¶#lÀ2>rÊ»ôª6÷“ì…§QóŸÞlPX¯Oè*qmEò²îš*ÛÙ^Ÿ6a$Rǵ¸,6 ÃŽ~¾µ+ÃÚ[Opÿ�"M…Xð¤‚Äã¯@>•³Ž;•‘üÆÞÛâ€â€¦ÃªzþF«k¤G¦µ¤a·,Ĩt09ùÂëÿ�ë£iÉ!;E4m›¸õA-¾Èç±…™£a¸0>žÆ³µ¥‚ÞwÑbŒªŸVê*®•2ØFm£V‘O·¦pF=úÓ®ÅÊL²AlYU¹Ç¨8?ÂçB‡-Kt3JÊãµÃUd 1è‚0ÎÇp^r޼Âá‹(ÃæKK(‘?Ã’Ã ÂÅ“nm¹ÜO®sÇà *-:Â+»öŸbÜÉ) —ûªÄõö<ÿ�õÅmëÚ(Óîm'ÂÛ÷2 d{‚6}w:W~G Võg5j¼ŽÇ-uç±ÜdH¤,Ã&é·ÃÂ_°Ò·ÛC²ÌMb)¡GeVÃÀù‡Luþu½ý…e«ÉÑy…呚b: É9à ñÔ}+¤±ÓcŽ WO–o;s09SÆ9ցN36¼†ç-\]ãË’é²ÙY0}¢×pÛxÈÆãŒ} s²ê72Ã<ü½ëà ¶w+hXHÌÊ‹ch €…r!²‰îgˆ¦ÄˆnY�*Ëê Ư φÃäîyÅ©u«öŠŽÕa—s/'5ÃŽ1Ó¶3ÿ�ë«QM7Hó0˜öÆ$lª’Nzvýkž¸¶[]6µ’y-nËÂ:äqØ“úÕ»{'Ô4ÔŽÒt…% INYËœ0õÆ3ùâ€N éÃKB[ öf[™“••cxdä/¾µ(»hîÚîÃCFD ‘Û>ÜSîŒé A,Ž‹‰ ÃŒUr|À1žŸç5Ÿ¥Æ$Å H¢Â¼ç dž£Óð÷®yCVÃŽÅ¡-=ĆFi¢û<{W:“6â„¢pöÂåš5m¡À裟â€â€žÅ Ù[³§Î×-撋-H壖,={}E|Æ/.®¹§¹èS«4ã‘ÙaÙÖ4Fäƒ×#?JÆÔ¶‰Ül©’WÔÆü+Z{ˆ£´P¨ÛY6@b6ÂÃÇNqÃf]Â9%Fâ€Å¾b²‘Èÿ�?…y4“RÔëjèdòG»x…â€Ã‰<Ã6‚{çÛ©Â[m^]X.¢(Z2È®§$n^ùé×éY¶S£ZOiæ¶ "Aóp\LÓÃÃ>Õ;bxä…XmÛÔÂR;cÂÃŒWm:Ã’Â¥;ÞÖ9*Ã’ÂX´ÃT¶»ûN—¦Þ‰#7(‘•€,O8ÃúãéVu;hÃŒiµÂ|µpJƒ÷²~nܾ•暌ÖÅm-㥸Ž@¹Ã+xä{©n=a‚´°±óWÊ?‹®F?#^¬³dš²ÃòVY'}NÂ/žÿ�´†XãbHsÂëŽäúã8ÃQµì¨öÓÊUtçܪcÂÄ`}GÃ¥\£jÂk…;â„¢&Mß"’¶8ïšµ|MܱaØÆª¥QØzc¯n1Ã…g<Ù-âRËÂÃ’l±«kÂ#E<щ¯®?¿…`éâêIÜÌŠË!Yv�箘§Þ0@]䘞Xáâ€â€šzÂëO{˜ˆd·º•ãÂÅ’sÔc¯jókâ¥]jÂN–4¾¦²Ë4²²’0£9Ëgú*hà Zc9)+ϡ~&«jSÃ{k"¹Û"á¼Â¸ÃÃô'ó¨t«˜¶…*Ê¡•[©Éê;~5ÃÈù9–çG>¶4/m!·µˆ,ˆfâ„¢|¶Bß0äà zc×<×'s§1Y¥—ÊÂmv?7=8ôÂÂVóÈÕξrî`Ã…8ÃÓü9ükIópÀîB»sΙÃvà éÃKnÃŒ+%Õ…¤ìcÃ2¨ÛÂû’y 9ãµnÉGkn·-Žy¶xöäOãŠÎ†% )9•Ip–çŽNvçÓ‘ëZR¸K ±Â¤k´|) ×ÔqÜöõÃÖa©û8}PL“ÜI%«³4Àr‚@J•åêxÇýz‚Ê5³·.ñÇå±em²ËØdW“ŽxëSKkÑ5Îáæ)+!û¤`€2=IïùÕK¤T¹ÂáŠ&iFP;2°P:œ÷Ã<JßmLâ„¢Â3¡²2ÊcFy6¨¶ÇÃÚÓ {öªÒKfˆÂ·Â)VVR8ÃnsÔòGn‚¨Š!HØU’@ÿ�.Ù ö>˜ò©"¢ºY`•YsòÈ¿6Üžô=?:ÆuRø‰q¸ëg–WiËœ1fÜò@ý;}k¦ÑobÓ¢’ýNYa‘¡r|ÂUO~�Ièx¬5Òµà ûBV0̱ïmÛGû^ÇÔ€ MiI¨G Vf ðG-ÈéÓ¨®hbèÔNÒØR§xê]·ŸSÕgòm"yYZDÉ' ü08®ºÚ³°’ÖbÂPÃŒ02@ï|V‡t«ËywÂÂö˜›vÀÃvÆ’Å“9ÃŽÂuš…³ßÅ#ˆ‚Ãå‘$¬Ãœ’89ëýkå³±©RÉès=‘ÊÉ-ÕìóÅ ÂYW,ÇËÛƒéYp¢=ÔwrÊ|¸>fp¿+2ä®3øcÜ èt€/`h‰[rëˆ]Ôå°pÀ69\vÃ’k“‡N»·×þÀÃÃ¥H£÷Ã9VR8oC×8*NsÃ¥LÞâ€yŠ×Wj.ÙñQ±-³<1ç'·z½‰aK§Ã&ß›x;W¯åUnÂb·¾’ØÃ1²Œ»•‰þñìjýŽœÉc(yÈÂw*â€Ã†G#ÜWÖR§Ë¢=Å¡I%cWòÕšîâY7¯Ê¹%W=‡Ó¥[·´/§ÄÃ)XÃn?x€à à Ã*8çŠîVµ–W ¿Ó¿µ]Ñ-â-r²¼ÃPÃ¥rª>ðÆ>•²WE/=¬.Ââ€ÂˆpA8fç8ÃYÃ’o%’ìK4O â€`¿*Ÿ\çÂbê‘ý¾úI’TÚ[r…ÎÃúVÅ“Âö=>;‘* p„p[4-ÉÖ;ÂÔ#)®,n—hÅ Ec×è=ÿ�•E}Â¥ÃCu²Ìd2’¬Þfì}F8üªõó>cœ°’ì•d¹ O½C{zÃ’â„¢`rZþVrx<â¹ñ\®›¸ãi»¢µÛ´^U¼eÂÅ¡<ÂÇ'æã¯Ò¤œLþJÌßgRÃŒ± “Žy?ʤkiáfÚ®ª¸dÛ÷‡ùÿ�=êŒå#·ÊŸ,)fΊdŸÇ>õò÷Obù5Ô–Q$KpfM„ŽòN0x#½ZØynÃ~và 8ÉìEeK$¢(ï˜Â´ïÎNqÓ×�äÖž•åìk}Ê.BÂÊçå~£o±Ã§8;'p¯c"Y€Hvãî6ã!jÃD–ÃÞY¢Ú2�åHõý=êΛd®$dâ€ÂÂâ„¢Fyž+Xd’î]…SÃË*“‘Ç'éZE©JË¡3½®T†ÑUÚâ&wÃʽwJÓŒ¹ÎsYö³(•¢BÈp|ÄÎ0zcéŠÑP¡@+Û¡ÌÖ§‡Y%'aø¶r{Ãà )�ð=)qÀëùÑŒç8ÂÃŒ 쌀6rG^hc‡ ÔÃŒŒÓJ�Ø=úc½P\kÅ’ÂÄâ“=³ô¤dqŒÓIÙåç#�Ãö¸ãµ&1ßà NráHrçÂÃ’ÂËqÆxÂk·&Ö(‚æE|Ø9ç‘ÇjηCç/ÂlÜ" F‰ÆŽ½+Ÿ¯FKÈÒƒjhÌ™ÿ�Ã|¶]ÂÃ07à œdã?‰¬›é-$ºžDFĨª3–\à dîúÖŽ –Ãâ„¢ÂüÃ<y÷ëúó·QåÃó+•äóÂʾ6Å gÕB «ÂÅ $Ó‘Hddm¯É ë×>ÇŽq×=±WÓæådœ…€�(à c°¦±ãÕ$2%¶DÒ–ÃÃŒO<äwã5=±š»á]ZU`±öÎÛ#5«„¬Û)×ÚP··E1…ÂqûÂÃ+ß&¹[Ø–æcöhÆ’@Âó2nÈIþ•µçÉ«Yɧ$“K+prW®}³Î;`V|ðKcj ü¾YÜ`«®Fzu�’}xÂ¥ArîõnÞðë{8’Éf]û*±ä‘ø}O5^[x£†FebÃî°Ø*r3ù*²£Ãînm[÷q2žxÜx8�t=³ÃM½†»œ<ñ˜‰à (çåþŸ…h¯Ã«µ‹>xã²iæ ¹v¶å`r¤°$ps·ô®ºêöÃ4aQ†Æw«Û§_¸Â§Ëa¤Ks’ZIänËÃgß'>ØÂxõ©*.Õeù¡ Ó¸Ãúu>õèÃ(uf§=Â;êîs»z ½‹ÓbbU[̈–mÇ¿SÅ’{ž+¥ð¾«ý£(¼±È*ýÞcÃ>ÕÆéúÃq©t¾|ªJ�¥•€å†}GZMU·…à I–6’+‰"ùG!wÂqÉÇã]µòšr‡*Ãu°Ãåå†ç¥\hŽn"“™X°w!°¹Žù5±i4Ò€°B®Òìç·çÃq÷:ÔÃâ¹–ê$ÂÕ6–UVÀŸ\ýk·†YXy¡YX…vWËbB PHP:
The "some code like this" you are talking about is actually the image.. just in a binary or textual representation because the appropriate headers haven't been sent. Anyone savvy can just save that as a jpg.
This is a different approach On all your pages start a session and set a variable when the page has loaded like this. <?php session_start(); $_SESSION['last_page_load'] = time(); ?> PHP: Then you create a script with the following code <?php session_start(); $seconds = 20; if (time() - $_SESSION['last_page_load']< $seconds) { $file = substr($_SESSION['REQUEST_URI'],-3); header('Content-type: image/'.$file); echo file_read_contents($_SESSION['REQUEST_URI']); exit; } ?> PHP: Then add a redirect rule for all images to this file like this RewriteRule ^images/(.*)$ http://www.mydomain.com/imagecheck.php Code (markup): This means that all images actually will be loaded via the imagecheck.php file. All requests to the images that are later than 20 seconds after the last page load will load nothing. NOTE: I have not tested this script so not sure if it will work but it should with some testing and debugging.
Is this method really necessary to put a random code in the call to an image file? Why not just use an Apache server and edit your .htaccess file to prevent others from hotlinking your images? RewriteEngine On RewriteBase / RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?example.com/.*$ [NC] RewriteRule \.(gif|jpg|swf|flv|png)$ /feed/ [R=302,L] Code (markup): See hxxp://www.askapache.com/htaccess/mod_rewrite-tips-and-tricks.html#prevent-hotlinking for more discussion about using mod_rewrite.
If you want to allow users to see the image in the browser but prevent them from downloading the image, I have some bad news for you.
why dont u use ur apache server's hotlink setting so that no one can access the picture outside of ur own server. ... and for browsers being able to save the jpg as image, u can easily avoid it by taking a div tag equal to the image size and then use its background image property to load the image.. that way no one will be able to save it as picture anymore or do any dragging or whatever... let me know if it helps...
i need it for applying on a dynamic site not in static and also i know hotlinking but i using the same images on morethan one site so please read my thread main post and then you can understand my idea i hope it can be happen but i don know much php to code such an idea
That's easy. You can still use the hotlinking code I displayed earlier. All you have to do is add as many URLs as you want. Using the same images on more than one site is not a problem.
Please suggest some php code for the main post on this thread that is for my idea i need a working php file for my idea
Hi, Please check these links and if you interested in pm me? dailyfreelink.com/contact.php (You will see a security code whose link is dailyfreelink.com/images/securityImage.php) Then when you copy and open image path with browser as dailyfreelink.com/images/securityImage.php You will see a message as "You have no privilege to access this item" is it ok?