Blocking a "TAG" from the URL!

Status
Not open for further replies.

Dohwee

Active Member
69
2010
0
0
Hey guys! i would like to ask how do i block a tag from the url?

If someone types down "?link=" in the url it will give them a forbidden page

So if someone types down like
www.example.com/index.php?link= <--you see the ?link=

I would like to block that and give them a forbidden page how do i do that?

But one thing is for sure.
I have a rapidleech site
and after the ?link=(HOTFILE,Megaupload link) here to download their stuff..

How do i fix that? i want the website to know that they type the "TAG" word and give them a forbidden page

I don't think referrer acutually work.
 
5 comments
you dont say what script your using.

To disable ?link= There will be a line something like
Code:
$link = $_GET['link'];
change to somthing like
Code:
$link = null;
or remove that part of the code.


Or
Code:
if ((isset ($_GET['link']))  {
echo "Not Allowed";
}
 
Ok thanks all

@gav0 your method is making my whole script malfunctioning.. it just crash my rapidleech with lots of error appearing on my homepage..

but i manage to block the website by banning it.
 
Status
Not open for further replies.
Back
Top