Any One Have This Code

Started on the old forum in October 2008 · view the original in the archive · old links redirect here

17 replies · 1,142 views · started 18 years ago · 1 min read

11 participants
jsyguy23 Developer · 134 posts #1

hi does any one have a code to stop logos and banners from being copyed from a site please

subzero Super moderator Fellow · 3,954 posts #2

if they using mobile

echo "<img src="logo.gif" alt="no_save"/>";

if using web browser hmmm java scripting is needed

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

jsyguy23 Developer · 134 posts #3

thanks m8 is there not a code you could put in the .htaccess file

subzero Super moderator Fellow · 3,954 posts #4

yea theres one but most phones cant take the file.

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

amylee Principal · 1,092 posts #6

there is nothing that can be done to stop people stealing images as images are often cached by most browsers

metulj Super moderator Principal · 1,726 posts #7

watermark is probably the best solution i guess...

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

GumSlone Administrator Principal · 1,690 posts #8

I have already posted somewhere in forums how to hide images with css, so you cant save them directly, here is the code again;

$image='[url]http://mysite.com/myimage.gif';[/url]
$img = @getimagesize($image);
      $w = $img[0];
      $h = $img[1];
echo '<div style="padding:1px; background-image: url('.$image.'); background-repeat:no-repeat; width: ' . $w . 'px; height:' . $h . 'px; "></div>';

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

nclemale36 Lead · 537 posts #10

QUOTE (opticalpigion @ Oct 9 2008, 07:52 PM) <{POST_SNAPBACK}>

humm i dont think so you can stop them if they use computer !! alot of ppl copied my community sites logo too.

i have used this .

put it on all the pages u want . ppl cant right click and save with this.

well aint tested on all browsers but u cant on firefox .

echo"<body oncontextmenu='return false;'>";

Anshul Senior · 296 posts #12

QUOTE

i have used this .

put it on all the pages u want . ppl cant right click and save with this.

well aint tested on all browsers but u cant on firefox .

echo"<body oncontextmenu='return false;'>";

even by using this code sum1 can copy images or enable the right click on the page 😀

Anshul Senior · 296 posts #13

U can do liks this

<img src=”something” oncontextmenu="return false;"/>

bt still it cn be copied by sum ways

bhushan3 Junior · 22 posts #14

QUOTE (GumSlone @ Oct 9 2008, 10:25 PM) <{POST_SNAPBACK}>

I have already posted somewhere in forums how to hide images with css, so you cant save them directly, here is the code again;

$image='http://mysite.com/myimage.gif';
$img = @getimagesize($image);
      $w = $img[0];
      $h = $img[1];
echo '<div style="padding:1px; background-image: url('.$image.'); background-repeat:no-repeat; width: ' . $w . 'px; height:' . $h . 'px; "></div>';

nice idea

jsyguy23 Developer · 134 posts #16

this only works on firefox lol any one has a code that will work on all browsers

<?php <body oncontextmenu='return false;'> ?>
WhiteWarrior Principal · 1,419 posts #17

QUOTE (jsyguy23 @ Oct 20 2008, 09:26 PM) <{POST_SNAPBACK}>

this only works on firefox lol any one has a code that will work on all browsers

<?php <body oncontextmenu='return false;'> ?>

that wouldn't work very well, you could highlight the image then copy it using keys, there is no way to ever block images, even using javascript... there is one way,,, use flash but mobile phones wouldn't beable to access the page..

jsyguy23 Developer · 134 posts #18

lol ok its just i seen it on a site n i tested it wid phone mozilla opera and i could not copy the image lol

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close