Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
peace
Worker
Worker


Joined: Mar 11, 2004
Posts: 209

PostPosted: Thu Dec 16, 2004 10:12 am Reply with quote

Hello
I had some search but had over 50 page found Shocked so i didnt check all of em and im sorry if this asked before raven

i need a no right click code even if its possible admin can right click ( i think it will be easy to check links or other stuff)

and if someone can post one for me plz add that where must i add that .I was using one which i was using at my old html site which doesnt worked for my index.php coz wasnt know where to add Embarassed

regards

p.s:raven if i open this topic in a wrong area sorry sure u can move


Last edited by peace on Thu Dec 16, 2004 12:56 pm; edited 1 time in total 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Thu Dec 16, 2004 12:11 pm Reply with quote

Try placing your old code in includes/my_header.php after the closing ?>
 
View user's profile Send private message
peace
PostPosted: Thu Dec 16, 2004 12:34 pm Reply with quote

tyvm Gaylen it worked
but when i was tryin to paste here the code coz thought it may help anyone one day but i had sentinel blocked me Sad

regards
 
Raven
PostPosted: Thu Dec 16, 2004 2:35 pm Reply with quote

It's the script tags. Post them like <sc ript>
 
peace
PostPosted: Thu Dec 16, 2004 3:02 pm Reply with quote

it has alreasy has script tags

if you care i can mail ya np or np if u no care Smile
 
Raven
PostPosted: Thu Dec 16, 2004 3:11 pm Reply with quote

I understand. Read my post. You have to write it in a special way.
 
Hagii
New Member
New Member


Joined: Dec 21, 2004
Posts: 7

PostPosted: Tue Dec 21, 2004 7:45 pm Reply with quote

It would be nice to have that script, for th eimage bandits... lol
 
View user's profile Send private message Visit poster's website
peace
PostPosted: Tue Dec 21, 2004 9:07 pm Reply with quote

sorry i didnt understand how must i post it here Sad if someone can explain for a noob i can Embarassed
 
Raven
PostPosted: Tue Dec 21, 2004 9:35 pm Reply with quote

As I said, when you post the script tag, you need to split up the word script. You could do
<scr ipt>
<s-c-r-i-p-t>
etc.
 
peace
PostPosted: Wed Dec 22, 2004 12:41 am Reply with quote

ooh k got it now

<S-C-R-I-P-T LANGUAGE="Javascript"><!--

var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS)
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
if(EnableRightClick==1){ return true; }
else {return false; }
}
function mousehandler(e){
if(EnableRightClick==1){ return true; }
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3)) return false;
}
function keyhandler(e) {
var myevent = (isNS) ? e : window.event;
if (myevent.keyCode==96)
EnableRightClick = 1;
return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
//-->
</s-c-r-i-p-t>
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©